summaryrefslogtreecommitdiff
path: root/gdb/i386-nat.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-21 17:14:03 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-21 17:14:03 +0000
commitfffe160b7858f886d18a064ec734d33e57148106 (patch)
treeaf0b2cd507011051af0021ab316e9a569a43f5cd /gdb/i386-nat.c
parent6dde5c85deea12dca70ad7f9441d9ef59d05463a (diff)
downloadgdb-fffe160b7858f886d18a064ec734d33e57148106.tar.gz
2005-02-21 Andrew Cagney <cagney@gnu.org>
* 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.
Diffstat (limited to 'gdb/i386-nat.c')
-rw-r--r--gdb/i386-nat.c8
1 files changed, 4 insertions, 4 deletions
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
}