diff options
author | Mark Kettenis <kettenis@gnu.org> | 2001-07-30 21:45:26 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2001-07-30 21:45:26 +0000 |
commit | 4b418e06b0deeefd61d79a57666ff971533e79fa (patch) | |
tree | 8b96b365aea185fc09ab1b309199d0d41e044bf2 /gdb/config | |
parent | 8d7f6b4a806dea3c93d6d5883dea13d730607141 (diff) | |
download | gdb-4b418e06b0deeefd61d79a57666ff971533e79fa.zip gdb-4b418e06b0deeefd61d79a57666ff971533e79fa.tar.gz gdb-4b418e06b0deeefd61d79a57666ff971533e79fa.tar.bz2 |
* config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Redefine to call
i386_dwarf_reg_to_regnum.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/i386/tm-i386sol2.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/config/i386/tm-i386sol2.h b/gdb/config/i386/tm-i386sol2.h index bc2a5f8..c90e0d4 100644 --- a/gdb/config/i386/tm-i386sol2.h +++ b/gdb/config/i386/tm-i386sol2.h @@ -24,6 +24,11 @@ #define HAVE_I387_REGS #include "i386/tm-i386v4.h" +/* We use stabs-in-ELF with the DWARF register numbering scheme. */ + +#undef STAB_REG_TO_REGNUM +#define STAB_REG_TO_REGNUM(reg) i386_dwarf_reg_to_regnum ((reg)) + /* If the current gcc for for this target does not produce correct debugging information for float parameters, both prototyped and unprototyped, then define this macro. This forces gdb to always |