This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [trivial] remove references to add_setshow_cmd_full fromarm-tdep.c
- From: Ramana Radhakrishnan <ramana dot radhakrishnan at codito dot com>
- To: Richard Earnshaw <rearnsha at gcc dot gnu dot org>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 30 Jul 2004 22:06:47 +0530
- Subject: Re: [trivial] remove references to add_setshow_cmd_full fromarm-tdep.c
- Organization: Codito Technologies
- References: <410A68AE.2090004@codito.com> <1091203105.31643.103.camel@pc960.cambridge.arm.com>
- Reply-to: ramana dot radhakrishnan at codito dot com
Hi Richard,
Oops.I am sorry about making that patch in a hurry. That should teach
me .I hope its ok this time round. Here we go again .
cheers
Ramana
---
2004-07-30 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
* arm-tdep.c: Remove references to add_setshow_cmd_full for apcs32 .
Is this ok ?
regards
Ramana
Index: arm-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/arm-tdep.c,v
retrieving revision 1.179
diff -u -r1.179 arm-tdep.c
--- arm-tdep.c 28 Jul 2004 17:26:26 -0000 1.179
+++ arm-tdep.c 30 Jul 2004 16:35:53 -0000
@@ -2941,17 +2941,6 @@
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");
-
add_setshow_boolean_cmd ("apcs32", no_class, &arm_apcs_32, "\
Set usage of ARM 32-bit mode.", "\
Show usage of ARM 32-bit mode.", "\