* [PATCH] Add missing AMD64 registers
@ 2004-04-12 16:57 Mark Kettenis
0 siblings, 0 replies; only message in thread
From: Mark Kettenis @ 2004-04-12 16:57 UTC (permalink / raw)
To: gdb-patches
This patch adds constants for the segment registers to amd64-tdep.h.
I'm working on some code that will use these.
Anyway, this was my botched check-in. Things should be fixed now.
Mark
2004-04-11 Mark Kettenis <kettenis@gnu.org>
* amd64-tdep.h (amd64_regnum): Add AMD64_CS_REGNUM,
AMD64_SS_REGNUM, AMD64_DS_REGNUM, AMD64_ES_REGNUM,
AMD64_FS_REGNUM and AMD64_GS_REGNUM.
Index: amd64-tdep.h
===================================================================
RCS file: /cvs/src/src/gdb/amd64-tdep.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- amd64-tdep.h 14 Mar 2004 21:38:55 -0000 1.3
+++ amd64-tdep.h 12 Apr 2004 16:17:20 -0000 1.4
@@ -45,6 +45,12 @@ enum amd64_regnum
AMD64_R15_REGNUM = 15, /* %r15 */
AMD64_RIP_REGNUM, /* %rip */
AMD64_EFLAGS_REGNUM, /* %eflags */
+ AMD64_CS_REGNUM, /* %cs */
+ AMD64_SS_REGNUM, /* %ss */
+ AMD64_DS_REGNUM, /* %ds */
+ AMD64_ES_REGNUM, /* %es */
+ AMD64_FS_REGNUM, /* %fs */
+ AMD64_GS_REGNUM, /* %gs */
AMD64_ST0_REGNUM = 24, /* %st0 */
AMD64_XMM0_REGNUM = 40, /* %xmm0 */
AMD64_XMM1_REGNUM /* %xmm1 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-04-12 16:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-12 16:57 [PATCH] Add missing AMD64 registers Mark Kettenis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox