aboutsummaryrefslogtreecommitdiff
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
commitb66df561bb295f7818ba7793ebc22ebb1705e286 (patch)
tree3485f87123070a1b9e6a4c21f3f390a74792174e /gdb/i386-nat.c
parente6daada38b3ea8c8e9db27f71716f50dacf17be9 (diff)
downloadgdb-b66df561bb295f7818ba7793ebc22ebb1705e286.zip
gdb-b66df561bb295f7818ba7793ebc22ebb1705e286.tar.gz
gdb-b66df561bb295f7818ba7793ebc22ebb1705e286.tar.bz2
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 5388ef9..518da88 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
}