diff options
author | Richard Henderson <rth@redhat.com> | 2003-06-02 16:13:58 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2003-06-02 16:13:58 +0000 |
commit | 7266705675d569d940cb6ce04d17c78c6a3b554e (patch) | |
tree | e5b4cc672913f11e4baf3684d25d772d56c07aaa /gdb/alpha-tdep.h | |
parent | 6dd77b815f4252948dae6b0a7e467789b09c6bbb (diff) | |
download | gdb-7266705675d569d940cb6ce04d17c78c6a3b554e.zip gdb-7266705675d569d940cb6ce04d17c78c6a3b554e.tar.gz gdb-7266705675d569d940cb6ce04d17c78c6a3b554e.tar.bz2 |
* alpha-tdep.c (alpha_register_virtual_type): Use void_data_ptr
for SP, GP; void_func_ptr for PC; non-language-specific types
for all others.
* alpha-tdep.h (ALPHA_GP_REGNUM): New.
Diffstat (limited to 'gdb/alpha-tdep.h')
-rw-r--r-- | gdb/alpha-tdep.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/alpha-tdep.h b/gdb/alpha-tdep.h index f69eeac..7f1ec51 100644 --- a/gdb/alpha-tdep.h +++ b/gdb/alpha-tdep.h @@ -43,9 +43,10 @@ #define ALPHA_GCC_FP_REGNUM 15 /* Used by gcc as frame register */ #define ALPHA_A0_REGNUM 16 /* Loc of first arg during a subr call */ #define ALPHA_T9_REGNUM 23 /* Return address register for OSF/1 __div* */ +#define ALPHA_RA_REGNUM 26 /* Contains return address value */ #define ALPHA_T12_REGNUM 27 /* Contains start addr of current proc */ +#define ALPHA_GP_REGNUM 29 /* Contains the global pointer */ #define ALPHA_SP_REGNUM 30 /* Contains address of top of stack */ -#define ALPHA_RA_REGNUM 26 /* Contains return address value */ #define ALPHA_ZERO_REGNUM 31 /* Read-only register, always 0 */ #define ALPHA_FP0_REGNUM 32 /* Floating point register 0 */ #define ALPHA_FPA0_REGNUM 48 /* First float arg during a subr call */ |