Restore sp for x86.
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 12 Mar 2010 15:12:35 +0000 (15:12 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 12 Mar 2010 15:12:35 +0000 (15:12 +0000)
2010-03-12  H.J. Lu  <hongjiu.lu@intel.com>

* amd64-tdep.c (amd64_word_names): Replace "sp" with "".
* i386-tdep.c (i386_word_names): Likewise.

gdb/ChangeLog
gdb/amd64-tdep.c
gdb/i386-tdep.c

index 4bc4d4faed7667e9fdaa56e52a0df386e4d4622e..d49b5c039350daaec2b8d8617d529f9bac44564f 100644 (file)
@@ -1,3 +1,8 @@
+2010-03-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * amd64-tdep.c (amd64_word_names): Replace "sp" with "".
+       * i386-tdep.c (i386_word_names): Likewise.
+
 2010-03-12  Pedro Alves  <pedro@codesourcery.com>
 
        * target.c (memory_xfer_partial): Don't use the stack cache if
index 8c41a8a92e5f184634eb131d4f8e46a034f2bb4c..e5cfa7179835d6b6928605f316d227fbc5faa246 100644 (file)
@@ -222,7 +222,7 @@ static const char *amd64_byte_names[] =
 
 static const char *amd64_word_names[] =
 {
-  "ax", "bx", "cx", "dx", "si", "di", "bp", "sp", 
+  "ax", "bx", "cx", "dx", "si", "di", "bp", "", 
   "r8w", "r9w", "r10w", "r11w", "r12w", "r13w", "r14w", "r15w"
 };
 
index f3862378b4f7024c497760cc7b948cb509e53506..83275acb2dc7ed1ed99c6ddf1a03c2a8a7b34ce6 100644 (file)
@@ -94,7 +94,7 @@ static const char *i386_byte_names[] =
 static const char *i386_word_names[] =
 {
   "ax", "cx", "dx", "bx",
-  "sp", "bp", "si", "di"
+  "", "bp", "si", "di"
 };
 
 /* MMX register?  */