diff options
Diffstat (limited to 'gdb/gnu-nat.c')
-rw-r--r-- | gdb/gnu-nat.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index 157c950..b3b89a4 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -3410,10 +3410,15 @@ _initialize_gnu_nat (void) add_task_commands (); add_thread_commands (); - deprecated_add_set_cmd ("gnu-debug", class_maintenance, - var_boolean, (char *) &gnu_debug_flag, - "Set debugging output for the gnu backend.", - &maintenancelist); + add_setshow_boolean_cmd ("gnu-nat", class_maintenance, + &gnu_debug_flag, + _("Set debugging output for the gnu backend."), + _("Show debugging output for the gnu backend."), + NULL, + NULL, + NULL, + &setdebuglist, + &showdebuglist); } #ifdef FLUSH_INFERIOR_CACHE |