* PATCH: Restore sp for x86
@ 2010-03-12 14:27 H.J. Lu
2010-03-12 15:02 ` Mark Kettenis
0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 2010-03-12 14:27 UTC (permalink / raw)
To: GDB
Hi,
This restors sp as stack pointer for x86. OK to install?
Thanks.
H.J.
---
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.
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? */
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PATCH: Restore sp for x86
2010-03-12 14:27 PATCH: Restore sp for x86 H.J. Lu
@ 2010-03-12 15:02 ` Mark Kettenis
0 siblings, 0 replies; 2+ messages in thread
From: Mark Kettenis @ 2010-03-12 15:02 UTC (permalink / raw)
To: hjl.tools; +Cc: gdb-patches
> Date: Fri, 12 Mar 2010 06:27:46 -0800
> From: "H.J. Lu" <hongjiu.lu@intel.com>
>
> Hi,
>
> This restors sp as stack pointer for x86. OK to install?
ok
> 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.
>
> 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? */
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-12 15:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-12 14:27 PATCH: Restore sp for x86 H.J. Lu
2010-03-12 15:02 ` Mark Kettenis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox