Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
To: gdb-patches@sources.redhat.com
Subject: [trivial] remove references to add_setshow_cmd_full from arm-tdep.c
Date: Fri, 30 Jul 2004 15:27:00 -0000	[thread overview]
Message-ID: <410A68AE.2090004@codito.com> (raw)

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




             reply	other threads:[~2004-07-30 15:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-30 15:27 Ramana Radhakrishnan [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=410A68AE.2090004@codito.com \
    --to=ramana.radhakrishnan@codito.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox