This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix Linux x86-64 register map


GDB doesn't know about %cs and %ss (yet).  Checked in.

Mark

Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>
 
	* x86-64-linux-tdep.c (user_to_gdb_regmap): Remove USER_CS and
	USER_DS.  We haven't given them a register number yet.

Index: x86-64-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/x86-64-linux-tdep.c,v
retrieving revision 1.21
diff -u -p -r1.21 x86-64-linux-tdep.c
--- x86-64-linux-tdep.c 23 Aug 2003 13:58:18 -0000 1.21
+++ x86-64-linux-tdep.c 29 Aug 2003 15:28:50 -0000
@@ -68,7 +68,7 @@ static int user_to_gdb_regmap[] =
   USER_RSI, USER_RDI, USER_RBP, USER_RSP,
   USER_R8, USER_R9, USER_R10, USER_R11,
   USER_R12, USER_R13, USER_R14, USER_R15,
-  USER_RIP, USER_EFLAGS, USER_CS, USER_SS,
+  USER_RIP, USER_EFLAGS,
   USER_DS, USER_ES, USER_FS, USER_GS
 };
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]