mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 20:14:06 +08:00
* i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR.
This commit is contained in:
parent
46019f2774
commit
89929b45cc
@ -1,3 +1,7 @@
|
||||
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.
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user