Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [trivial] remove references to add_setshow_cmd_full from arm-tdep.c
@ 2004-07-30 15:27 Ramana Radhakrishnan
  2004-07-30 15:58 ` Richard Earnshaw
  0 siblings, 1 reply; 6+ messages in thread
From: Ramana Radhakrishnan @ 2004-07-30 15:27 UTC (permalink / raw)
  To: gdb-patches

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");




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-08-01 19:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-30 15:27 [trivial] remove references to add_setshow_cmd_full from arm-tdep.c Ramana Radhakrishnan
2004-07-30 15:58 ` Richard Earnshaw
2004-07-30 16:37   ` Ramana Radhakrishnan
2004-07-30 16:56     ` Richard Earnshaw
2004-07-31  5:52       ` Ramana Radhakrishnan
2004-08-01 19:29       ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox