diff options
author | phk <phk@FreeBSD.org> | 2003-02-16 19:22:21 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-02-16 19:22:21 +0000 |
commit | 5d80f8f84b2e36b72f7a133e23179ec3f9bab94d (patch) | |
tree | bb6d5745cede1bbea958f1d7e8b1a7f4cea5438f /sys/ddb/db_command.c | |
parent | a787a2ce231cb430833f2821d998ac1909b00335 (diff) | |
download | FreeBSD-src-5d80f8f84b2e36b72f7a133e23179ec3f9bab94d.zip FreeBSD-src-5d80f8f84b2e36b72f7a133e23179ec3f9bab94d.tar.gz |
Change "dev_t gdbdev" to "void *gdb_arg", some possible paths for GDB
will not have a dev_t.
Diffstat (limited to 'sys/ddb/db_command.c')
-rw-r--r-- | sys/ddb/db_command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index f0aa6d2..ab58bc2 100644 --- a/sys/ddb/db_command.c +++ b/sys/ddb/db_command.c @@ -550,7 +550,7 @@ db_fncall(dummy1, dummy2, dummy3, dummy4) /* Enter GDB remote protocol debugger on the next trap. */ -dev_t gdbdev = NODEV; +void *gdb_arg = NULL; cn_getc_t *gdb_getc; cn_putc_t *gdb_putc; @@ -562,7 +562,7 @@ db_gdb (dummy1, dummy2, dummy3, dummy4) char * dummy4; { - if (gdbdev == NODEV) { + if (gdb_arg == NULL) { db_printf("No gdb port enabled. Set flag 0x80 on desired port\n"); db_printf("in your configuration file (currently sio only).\n"); return; |