From fffe160b7858f886d18a064ec734d33e57148106 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 21 Feb 2005 17:14:03 +0000 Subject: 2005-02-21 Andrew Cagney * command.h (deprecated_add_set_cmd): Rename add_set_cmd. * cli/cli-decode.h (add_set_cmd): Delete declaration. * cli/cli-decode.c (deprecated_add_set_cmd): Rename add_set_cmd. * i386-nat.c (_initialize_i386_nat): Update call. * valprint.c (_initialize_valprint): Update comment. * gnu-nat.c (_initialize_gnu_nat): Update call. --- gdb/i386-nat.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gdb/i386-nat.c') diff --git a/gdb/i386-nat.c b/gdb/i386-nat.c index 5388ef99937..518da8855da 100644 --- a/gdb/i386-nat.c +++ b/gdb/i386-nat.c @@ -670,13 +670,13 @@ _initialize_i386_nat (void) #ifdef I386_USE_GENERIC_WATCHPOINTS /* A maintenance command to enable printing the internal DRi mirror variables. */ - add_set_cmd ("show-debug-regs", class_maintenance, - var_boolean, (char *) &maint_show_dr, - "\ + deprecated_add_set_cmd ("show-debug-regs", class_maintenance, + var_boolean, (char *) &maint_show_dr, _("\ Set whether to show variables that mirror the x86 debug registers.\n\ Use \"on\" to enable, \"off\" to disable.\n\ If enabled, the debug registers values are shown when GDB inserts\n\ or removes a hardware breakpoint or watchpoint, and when the inferior\n\ -triggers a breakpoint or watchpoint.", &maintenancelist); +triggers a breakpoint or watchpoint."), + &maintenancelist); #endif } -- cgit v1.2.1