From: Kris Warkentin Date: Tue, 17 Jun 2003 17:49:39 +0000 (+0000) Subject: * i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=89929b45cc9eb21a5841f3372fdbab89621e24be;p=binutils-gdb.git * i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 732ebc3d551..ddc98c1468d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2003-06-17 Kris Warkentin + + * i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR. + 2003-06-17 Kris Warkentin * i386-nto-tdep.c (i386nto_sigcontext_addr): Declare sp before using. diff --git a/gdb/i386-nto-tdep.c b/gdb/i386-nto-tdep.c index 4047f42b017..f9a2887e044 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);