* [PATCH] Fix Solaris x86 debug register renumbering
@ 2001-07-31 1:41 Mark Kettenis
0 siblings, 0 replies; only message in thread
From: Mark Kettenis @ 2001-07-31 1:41 UTC (permalink / raw)
To: gdb-patches
Peter Schauer told me in private mail that this is the right thing for
Solatis x86 too.
Checked in on head and branch.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Redefine to call
i386_dwarf_reg_to_regnum.
Index: config/i386/tm-i386sol2.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/tm-i386sol2.h,v
retrieving revision 1.9
diff -u -p -r1.9 tm-i386sol2.h
--- config/i386/tm-i386sol2.h 2001/05/15 00:03:37 1.9
+++ config/i386/tm-i386sol2.h 2001/07/30 21:39:12
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-07-31 1:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-31 1:41 [PATCH] Fix Solaris x86 debug register renumbering Mark Kettenis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox