summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortschwinge <tschwinge>2012-09-19 11:06:55 +0000
committertschwinge <tschwinge>2012-09-19 11:06:55 +0000
commitb6d121647fa5492233deca20d9f71eece16383c0 (patch)
treec265d6e51b26aa4000238d47a652da7d8e1a2fae
parent63879887fd581d3c19081c944bf3ed7406f2f1aa (diff)
downloadgdb-b6d121647fa5492233deca20d9f71eece16383c0.tar.gz
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 6c8fcdb61f8..371217ee4e3 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 1364fdbf91c..365b2d48a98 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 d928ed081fb..89f9e342d74 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 ddcbbad3b2f..1c8c1c2601d 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 1ede13a3a18..03cc4b19a7c 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.",