diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-07-03 22:14:42 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-07-03 22:14:42 +0000 |
commit | e23457df3d4154cad2d28763afa01c88a8f4d9bd (patch) | |
tree | a14343ddfc0b2bf157f61d4f4ffb022b7daaab11 /gdb/config/sparc | |
parent | 38caaeec2b1850b6b936b5caafc505c2ce74f079 (diff) | |
download | gdb-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/config/sparc')
-rw-r--r-- | gdb/config/sparc/tm-sp64.h | 2 | ||||
-rw-r--r-- | gdb/config/sparc/tm-sparc.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gdb/config/sparc/tm-sp64.h b/gdb/config/sparc/tm-sp64.h index 8baa66a..f2507d2 100644 --- a/gdb/config/sparc/tm-sp64.h +++ b/gdb/config/sparc/tm-sp64.h @@ -260,6 +260,8 @@ CORE_ADDR sparc64_push_arguments (int, /* These are here at the end to simplify removing them if we have to. */ \ "icc", "xcc", "fcc0", "fcc1", "fcc2", "fcc3" \ } +extern const char *legacy_register_name (int i); +#define REGISTER_NAME legacy_register_name #undef REG_STRUCT_HAS_ADDR #define REG_STRUCT_HAS_ADDR(gcc_p,type) (TYPE_LENGTH (type) > 32) diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h index 64ce5c7..ec60c79 100644 --- a/gdb/config/sparc/tm-sparc.h +++ b/gdb/config/sparc/tm-sparc.h @@ -158,6 +158,8 @@ extern int sparc_intreg_size (void); \ "y", "psr", "wim", "tbr", "pc", "npc", "fpsr", "cpsr" \ } +extern const char *legacy_register_name (int i); +#define REGISTER_NAME legacy_register_name /* Offset from address of function to start of its code. Zero on most machines. */ |