aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-03-12 15:12:35 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-03-12 15:12:35 +0000
commit9cad29ac31e63013b9571710d3b730f351f8f5d2 (patch)
tree880f8721ae272a26535c63b727c886d14831ebfd /gdb/i386-tdep.c
parent6a8f26716ab741331f724f92713d982fe47126da (diff)
downloadgdb-9cad29ac31e63013b9571710d3b730f351f8f5d2.zip
gdb-9cad29ac31e63013b9571710d3b730f351f8f5d2.tar.gz
gdb-9cad29ac31e63013b9571710d3b730f351f8f5d2.tar.bz2
Restore sp for x86.
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.
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r--gdb/i386-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index f386237..83275ac 100644
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -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? */