aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-07-03 22:14:42 +0000
committerAndrew Cagney <cagney@redhat.com>2003-07-03 22:14:42 +0000
commite23457df3d4154cad2d28763afa01c88a8f4d9bd (patch)
treea14343ddfc0b2bf157f61d4f4ffb022b7daaab11 /gdb/gdbarch.h
parent38caaeec2b1850b6b936b5caafc505c2ce74f079 (diff)
downloadgdb-e23457df3d4154cad2d28763afa01c88a8f4d9bd.zip
gdb-e23457df3d4154cad2d28763afa01c88a8f4d9bd.tar.gz
gdb-e23457df3d4154cad2d28763afa01c88a8f4d9bd.tar.bz2
2003-07-03 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (REGISTER_NAME): Do not supply a default. * gdbarch.h, gdbarch.c: Re-generate. * config/sparc/tm-sparc.h (REGISTER_NAME): Define. (legacy_register_name): Declare. * config/sparc/tm-sp64.h (legacy_register_name): Declare. (REGISTER_NAME): Define. * sparc-tdep.c (legacy_register_name): New function. * config/pa/tm-hppa64.h (REGISTER_NAMES): Delete macro. (REGISTER_NAME): Define. (hppa64_register_name): Declare. * config/pa/tm-hppa.h (REGISTER_NAMES): Delete macro. * hppa-tdep.c (hppa_gdbarch_init): Set hppa_register_name. (hppa64_register_name): New function. (hppa_register_name): New function. * arch-utils.c (legacy_register_name): Delete. * arch-utils.h (legacy_register_name): Delete.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index 0242d5b..e4252ea 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -589,11 +589,6 @@ extern void set_gdbarch_dwarf2_reg_to_regnum (struct gdbarch *gdbarch, gdbarch_d
#define DWARF2_REG_TO_REGNUM(dwarf2_regnr) (gdbarch_dwarf2_reg_to_regnum (current_gdbarch, dwarf2_regnr))
#endif
-/* Default (function) for non- multi-arch platforms. */
-#if (!GDB_MULTI_ARCH) && !defined (REGISTER_NAME)
-#define REGISTER_NAME(regnr) (legacy_register_name (regnr))
-#endif
-
typedef const char * (gdbarch_register_name_ftype) (int regnr);
extern const char * gdbarch_register_name (struct gdbarch *gdbarch, int regnr);
extern void set_gdbarch_register_name (struct gdbarch *gdbarch, gdbarch_register_name_ftype *register_name);