aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-nto-tdep.c
diff options
context:
space:
mode:
authorKris Warkentin <kewarken@qnx.com>2003-06-17 17:49:39 +0000
committerKris Warkentin <kewarken@qnx.com>2003-06-17 17:49:39 +0000
commit89929b45cc9eb21a5841f3372fdbab89621e24be (patch)
tree6ab22f52e3766cd261cc3dfc6f5ac505330328fb /gdb/i386-nto-tdep.c
parent46019f27748f9bfd2f50cee4e281d57c82da791b (diff)
downloadgdb-89929b45cc9eb21a5841f3372fdbab89621e24be.zip
gdb-89929b45cc9eb21a5841f3372fdbab89621e24be.tar.gz
gdb-89929b45cc9eb21a5841f3372fdbab89621e24be.tar.bz2
* i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR.
Diffstat (limited to 'gdb/i386-nto-tdep.c')
-rw-r--r--gdb/i386-nto-tdep.c2
1 files changed, 1 insertions, 1 deletions
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);