summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_command.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ddb/db_command.c')
-rw-r--r--sys/ddb/db_command.c4
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;
OpenPOWER on IntegriCloud