diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-03-12 15:12:35 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-03-12 15:12:35 +0000 |
commit | 9cad29ac31e63013b9571710d3b730f351f8f5d2 (patch) | |
tree | 880f8721ae272a26535c63b727c886d14831ebfd | |
parent | 6a8f26716ab741331f724f92713d982fe47126da (diff) | |
download | gdb-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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/amd64-tdep.c | 2 | ||||
-rw-r--r-- | gdb/i386-tdep.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4bc4d4f..d49b5c0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c index 8c41a8a..e5cfa71 100644 --- a/gdb/amd64-tdep.c +++ b/gdb/amd64-tdep.c @@ -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" }; 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? */ |