From: Thomas Schwinge Date: Wed, 19 Sep 2012 11:07:01 +0000 (+0000) Subject: gdb/ X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=aa9259cc84069710fcf56dc73a04a1983636cd18;hp=287904cecb181d84ffe49d8f75787b54877b7575;p=deliverable%2Fbinutils-gdb.git 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6c8fcdb61f..371217ee4e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2012-09-19 Thomas Schwinge + + * 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 * infcmd.c (_initialize_infcmd): Register `j' as an alias for diff --git a/gdb/NEWS b/gdb/NEWS index 1364fdbf91..365b2d48a9 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 d928ed081f..89f9e342d7 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2012-09-19 Thomas Schwinge + + * gdb.texinfo: Document the removal of SH's 'regs' command. + 2012-09-18 Sergio Durigan Junior * gdb.texinfo (jump): Mention new alias `j' for `jump'. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index ddcbbad3b2..1c8c1c2601 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 1ede13a3a1..03cc4b19a7 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.",