aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-10-26 17:19:28 +0000
committerAndrew Cagney <cagney@redhat.com>2002-10-26 17:19:28 +0000
commit903ad3a6adced99c0142ab49edeb89ca18c1e6ec (patch)
tree90fc6379284bca0a60b07a5508d309a4bad78c9d /gdb/infcmd.c
parente3033f1585b6acef795a8b8f601ed19bcfcf1375 (diff)
downloadgdb-903ad3a6adced99c0142ab49edeb89ca18c1e6ec.zip
gdb-903ad3a6adced99c0142ab49edeb89ca18c1e6ec.tar.gz
gdb-903ad3a6adced99c0142ab49edeb89ca18c1e6ec.tar.bz2
2002-10-26 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete definition of DO_REGISTERS_INFO. 2002-10-26 Andrew Cagney <cagney@redhat.com> * gdbarch.sh (DEPRECATED_DO_REGISTERS_INFO): Rename DO_REGISTERS_INFO. gdbarch.h, gdbarch.c: Re-generate. * infcmd.c (default_print_registers_info): Update reference. * mips-tdep.c (mips_gdbarch_init): Set deprecated_do_registers_info. (mips_dump_tdep): Do not print DO_REGISTERS_INFO. * sh-tdep.c (sh_gdbarch_init): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 5359e29..38cb1b6 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -1571,10 +1571,9 @@ default_print_registers_info (struct gdbarch *gdbarch,
char *raw_buffer = alloca (MAX_REGISTER_RAW_SIZE);
char *virtual_buffer = alloca (MAX_REGISTER_VIRTUAL_SIZE);
- /* FIXME: cagney/2002-03-08: This should be deprecated. */
- if (DO_REGISTERS_INFO_P ())
+ if (DEPRECATED_DO_REGISTERS_INFO_P ())
{
- DO_REGISTERS_INFO (regnum, print_all);
+ DEPRECATED_DO_REGISTERS_INFO (regnum, print_all);
return;
}