This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Add I386_CS_REGNUM and I386_SS_REGNUM
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 28 Dec 2003 20:45:39 +0100 (CET)
- Subject: [PATCH] Add I386_CS_REGNUM and I386_SS_REGNUM
These might be useful in the future.
Committed,
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* i386-tdep.h (i386_regnum): Add I386_CS_REGNUM and
I386_SS_REGNUM.
Index: i386-tdep.h
===================================================================
RCS file: /cvs/src/src/gdb/i386-tdep.h,v
retrieving revision 1.33
diff -u -p -r1.33 i386-tdep.h
--- i386-tdep.h 16 Nov 2003 15:07:00 -0000 1.33
+++ i386-tdep.h 28 Dec 2003 19:43:38 -0000
@@ -164,6 +164,8 @@ enum i386_regnum
I386_EDI_REGNUM, /* %edi */
I386_EIP_REGNUM, /* %eip */
I386_EFLAGS_REGNUM, /* %eflags */
+ I386_CS_REGNUM, /* %cs */
+ I386_SS_REGNUM, /* %ss */
I386_ST0_REGNUM = 16, /* %st(0) */
};