aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2012-09-19 11:07:01 +0000
committerThomas Schwinge <tschwinge@gnu.org>2012-09-19 11:07:01 +0000
commitaa9259cc84069710fcf56dc73a04a1983636cd18 (patch)
tree32849ad2cdc9c035f930e5c9353822ad60ed356c
parent287904cecb181d84ffe49d8f75787b54877b7575 (diff)
downloadgdb-aa9259cc84069710fcf56dc73a04a1983636cd18.zip
gdb-aa9259cc84069710fcf56dc73a04a1983636cd18.tar.gz
gdb-aa9259cc84069710fcf56dc73a04a1983636cd18.tar.bz2
gdb/
* NEWS: Document the removal of SH's 'regs' command. * sh-tdep.c (_initialize_sh_tdep): Remove the deprecated 'regs' command. gdb/doc/ * gdb.texinfo: Document the removal of SH's 'regs' command.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/NEWS6
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdb.texinfo7
-rw-r--r--gdb/sh-tdep.c8
5 files changed, 16 insertions, 15 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6c8fcdb..371217e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2012-09-19 Thomas Schwinge <thomas@codesourcery.com>
+
+ * NEWS: Document the removal of SH's 'regs' command.
+ * sh-tdep.c (_initialize_sh_tdep): Remove the deprecated 'regs'
+ command.
+
2012-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
* infcmd.c (_initialize_infcmd): Register `j' as an alias for
diff --git a/gdb/NEWS b/gdb/NEWS
index 1364fdb..365b2d4 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -39,6 +39,12 @@ pi [command]
py [command]
"py" is a new alias for "python".
+* Removed commands
+
+ ** For the Renesas Super-H architecture, the "regs" command has been removed
+ (has been deprecated in GDB 7.5), and "info all-registers" should be used
+ instead.
+
* MI changes
** Command parameter changes are now notified using new async record
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index d928ed0..89f9e34 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2012-09-19 Thomas Schwinge <thomas@codesourcery.com>
+
+ * gdb.texinfo: Document the removal of SH's 'regs' command.
+
2012-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
* gdb.texinfo (jump): Mention new alias `j' for `jump'.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index ddcbbad..1c8c1c2 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -20463,13 +20463,6 @@ For the Renesas Super-H processor, @value{GDBN} provides these
commands:
@table @code
-@item regs
-@kindex regs@r{, Super-H}
-This command is deprecated, and @code{info all-registers} should be
-used instead.
-
-Show the values of all Super-H registers.
-
@item set sh calling-convention @var{convention}
@kindex set sh calling-convention
Set the calling-convention used when calling functions from @value{GDBN}.
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c
index 1ede13a..03cc4b1 100644
--- a/gdb/sh-tdep.c
+++ b/gdb/sh-tdep.c
@@ -2416,16 +2416,8 @@ extern initialize_file_ftype _initialize_sh_tdep; /* -Wmissing-prototypes */
void
_initialize_sh_tdep (void)
{
- struct cmd_list_element *c;
-
gdbarch_register (bfd_arch_sh, sh_gdbarch_init, NULL);
- /* We can't use an alias here because 'info registers' has not yet been
- registered. */
- c = add_com ("regs", class_vars, all_registers_info,
- _("Print all registers"));
- deprecate_cmd (c, "info all-registers");
-
add_prefix_cmd ("sh", no_class, set_sh_command, "SH specific commands.",
&setshcmdlist, "set sh ", 0, &setlist);
add_prefix_cmd ("sh", no_class, show_sh_command, "SH specific commands.",