This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[trivial] remove references to add_setshow_cmd_full from arm-tdep.c
- From: Ramana Radhakrishnan <ramana dot radhakrishnan at codito dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 30 Jul 2004 20:56:38 +0530
- Subject: [trivial] remove references to add_setshow_cmd_full from arm-tdep.c
Hi ,
While attempting to build cvs head now for arm-elf I ran into a problem
with add_setshow_cmd_full for apcs32. It has been made
static in cli-decode.c . Someone has corrected the call but not removed
the reference . So here goes.
This patch removes the reference. Below the call to add_setshow_cmd_full
and a call to add_setshow_cmd_boolean is present below. Ok to apply ?
cheers
Ramana
--- src/gdb/arm-tdep.c 2004-07-30 20:44:58.000000000 +0530
+++ src-working/gdb/arm-tdep.c 2004-07-30 20:54:09.000000000 +0530
@@ -2940,7 +2940,15 @@
set_cmd_sfunc (new_set, set_disassembly_style_sfunc);
deprecated_add_show_from_set (new_set, &showarmcmdlist);
-
+
+ add_setshow_cmd_full ("apcs32", no_class,
+ var_boolean, (char *) &arm_apcs_32, "\
+Set usage of ARM 32-bit mode.", "\
+Show usage of ARM 32-bit mode.", "\
+Determine the usage of ARM 32-bit mode.", "\
+Usage of ARM 32-bit mode is %s.",
+ NULL, NULL,
+ &setlist, &showlist, &new_set, &new_show);
deprecate_cmd (new_set, "set arm apcs32");
deprecate_cmd (new_show, "show arm apcs32");