From 627003499ddac21de88a2d00a0062e2f9407dcce Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 17 Sep 2003 14:24:31 +0000 Subject: 2003-09-17 Andrew Cagney * gdbarch.sh (DEPRECATED_REGISTER_BYTE): Rename REGISTER_BYTE. * gdbarch.h, gdbarch.c: Regenerate. * arm-linux-tdep.c, core-sol2.c, cris-tdep.c: Update. * d10v-tdep.c, frame.c: Update. * hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update. * hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update. * ia64-linux-nat.c, irix5-nat.c, lynx-nat.c, m68knbsd-nat.c: Update. * mcore-tdep.c, mips-linux-tdep.c, mips-tdep.c: Update. * mipsv4-nat.c, mn10300-tdep.c, ns32k-tdep.c: Update. * ns32knbsd-nat.c, ppc-bdm.c, regcache.c, remote-sds.c: Update. * remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Update. * remote.c, rs6000-tdep.c, s390-tdep.c, sh64-tdep.c: Update. * sparc-nat.c, sparc-tdep.c, sun3-nat.c, v850-tdep.c: Update. * v850ice.c, vax-tdep.c, xstormy16-tdep.c: Update. * config/m68k/tm-cisco.h, config/m68k/tm-delta68.h: Update. * config/pa/nm-hppah.h: Update. 2003-09-17 Andrew Cagney * mi/mi-main.c: Rename REGISTER_BYTE to DEPRECATED_REGISTER_BYTE. --- gdb/gdbarch.c | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'gdb/gdbarch.c') diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index fd0d1da..a2b0f64 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -1452,6 +1452,25 @@ gdbarch_dump (struct gdbarch *gdbarch, struct ui_file *file) (long) current_gdbarch->deprecated_push_return_address /*DEPRECATED_PUSH_RETURN_ADDRESS ()*/); #endif +#ifdef DEPRECATED_REGISTER_BYTE_P + fprintf_unfiltered (file, + "gdbarch_dump: %s # %s\n", + "DEPRECATED_REGISTER_BYTE_P()", + XSTRING (DEPRECATED_REGISTER_BYTE_P ())); + fprintf_unfiltered (file, + "gdbarch_dump: DEPRECATED_REGISTER_BYTE_P() = %d\n", + DEPRECATED_REGISTER_BYTE_P ()); +#endif +#ifdef DEPRECATED_REGISTER_BYTE + fprintf_unfiltered (file, + "gdbarch_dump: %s # %s\n", + "DEPRECATED_REGISTER_BYTE(reg_nr)", + XSTRING (DEPRECATED_REGISTER_BYTE (reg_nr))); + fprintf_unfiltered (file, + "gdbarch_dump: DEPRECATED_REGISTER_BYTE = <0x%08lx>\n", + (long) current_gdbarch->deprecated_register_byte + /*DEPRECATED_REGISTER_BYTE ()*/); +#endif #ifdef DEPRECATED_REGISTER_BYTES fprintf_unfiltered (file, "gdbarch_dump: DEPRECATED_REGISTER_BYTES # %s\n", @@ -1996,25 +2015,6 @@ gdbarch_dump (struct gdbarch *gdbarch, struct ui_file *file) fprintf_unfiltered (file, "gdbarch_dump: push_dummy_code = 0x%08lx\n", (long) current_gdbarch->push_dummy_code); -#ifdef REGISTER_BYTE_P - fprintf_unfiltered (file, - "gdbarch_dump: %s # %s\n", - "REGISTER_BYTE_P()", - XSTRING (REGISTER_BYTE_P ())); - fprintf_unfiltered (file, - "gdbarch_dump: REGISTER_BYTE_P() = %d\n", - REGISTER_BYTE_P ()); -#endif -#ifdef REGISTER_BYTE - fprintf_unfiltered (file, - "gdbarch_dump: %s # %s\n", - "REGISTER_BYTE(reg_nr)", - XSTRING (REGISTER_BYTE (reg_nr))); - fprintf_unfiltered (file, - "gdbarch_dump: REGISTER_BYTE = <0x%08lx>\n", - (long) current_gdbarch->deprecated_register_byte - /*REGISTER_BYTE ()*/); -#endif #ifdef REGISTER_BYTES_OK_P fprintf_unfiltered (file, "gdbarch_dump: %s # %s\n", -- cgit v1.1