Commit a0a6fdc8 by Alexandre Oliva Committed by Alexandre Oliva

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
parent 721a9f8e
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment