mn10300.h (DBX_REGISTER_NUMBER): Remap register numbers to the ranges used by GDB.
* config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Remap register numbers to the ranges used by GDB. From-SVN: r36001
This commit is contained in:
parent
721a9f8e29
commit
a0a6fdc8b6
@ -1,3 +1,8 @@
|
||||
2000-08-26 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Remap register
|
||||
numbers to the ranges used by GDB.
|
||||
|
||||
2000-08-25 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* config/ia64/ia64.h (struct machine_function): Add n_varargs.
|
||||
|
@ -1042,7 +1042,12 @@ do { char dstr[30]; \
|
||||
|
||||
#define DWARF2_ASM_LINE_DEBUG_INFO 1
|
||||
|
||||
#define DBX_REGISTER_NUMBER(REGNO) REGNO
|
||||
#define DBX_REGISTER_NUMBER(REGNO) \
|
||||
(REGNO_DATA_P ((REGNO)) ? (0 + (REGNO) - FIRST_DATA_REGNUM) \
|
||||
: REGNO_ADDRESS_P ((REGNO)) ? (4 + (REGNO) - FIRST_ADDRESS_REGNUM) \
|
||||
: REGNO_SP_P ((REGNO)) ? 8 \
|
||||
: REGNO_EXTENDED_P ((REGNO)) ? (15 + (REGNO) - FIRST_EXTENDED_REGNUM) \
|
||||
: -1)
|
||||
|
||||
/* GDB always assumes the current function's frame begins at the value
|
||||
of the stack pointer upon entry to the current function. Accessing
|
||||
|
Loading…
Reference in New Issue
Block a user