From cbe54154ef7b3915c5ef2c20bddf78463ed6b566 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Tue, 12 May 2009 16:51:13 +0000 Subject: gdb/ 2009-05-12 Pedro Alves * cli/cli-decode.c (deprecated_add_set_cmd): Delete. * command.h (deprecated_add_set_cmd): Delete declaration. * gnu-nat.c (_initialize_gnu_nat): Replace 'maint gnu-debug' with 'set debug gnu-nat' and 'show debug gnu-nat'. * i386-nat.c (_initialize_i386_nat): Replace 'maint show-debug-registers' with 'maint set show-debug-registers' and 'maint show show-debug-registers'. * mips-linux-nat.c (_initialize_mips_linux_nat): Replace 'maint show-debug-registers' with 'maint set show-debug-registers' and 'maint show show-debug-registers'. gdb/doc/ 2009-05-12 Pedro Alves * gdb.texinfo: Document 'set/show debug gnu-nat'. Replace 'maint show-debug-regs' docs by 'maint set show-debug-regs' and 'maint show show-debug-regs' docs. --- gdb/command.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'gdb/command.h') diff --git a/gdb/command.h b/gdb/command.h index bed615c..1a6bec4 100644 --- a/gdb/command.h +++ b/gdb/command.h @@ -205,16 +205,6 @@ extern void help_list (struct cmd_list_element *, char *, extern void help_cmd_list (struct cmd_list_element *, enum command_class, char *, int, struct ui_file *); -/* NOTE: cagney/2005-02-21: Since every set command should be paired - with a corresponding show command (i.e., add_setshow_*) this call - should not be needed. Unfortunatly some are not (e.g., - "maintenance ") and those need to be fixed. */ -extern struct cmd_list_element *deprecated_add_set_cmd (char *name, enum - command_class class, - var_types var_type, void *var, - char *doc, - struct cmd_list_element **list); - /* Method for show a set/show variable's VALUE on FILE. If this method isn't supplied deprecated_show_value_hack() is called (which is not good). */ -- cgit v1.1