aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/i386-nto-tdep.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 732ebc3..ddc98c1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2003-06-17 Kris Warkentin <kewarken@qnx.com>
+ * i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR.
+
+2003-06-17 Kris Warkentin <kewarken@qnx.com>
+
* i386-nto-tdep.c (i386nto_sigcontext_addr): Declare sp before using.
2003-06-17 Jim Blandy <jimb@redhat.com>
diff --git a/gdb/i386-nto-tdep.c b/gdb/i386-nto-tdep.c
index 4047f42..f9a2887 100644
--- a/gdb/i386-nto-tdep.c
+++ b/gdb/i386-nto-tdep.c
@@ -240,7 +240,7 @@ static CORE_ADDR
i386nto_sigcontext_addr (struct frame_info *next_frame)
{
char buf[4];
- unsigned sp;
+ CORE_ADDR sp;
frame_unwind_register (next_frame, SP_REGNUM, buf);
sp = extract_unsigned_integer (buf, 4);