mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 13:09:48 +00:00
* i386-nto-tdep.c (i386nto_sigcontext_addr): Declare sp before using.
This commit is contained in:
parent
5cb2c7c447
commit
46019f2774
@ -1,3 +1,7 @@
|
|||||||
|
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>
|
2003-06-17 Jim Blandy <jimb@redhat.com>
|
||||||
|
|
||||||
* ppc-linux-tdep.c: "Linux" -> "GNU/Linux"
|
* ppc-linux-tdep.c: "Linux" -> "GNU/Linux"
|
||||||
|
@ -240,6 +240,7 @@ static CORE_ADDR
|
|||||||
i386nto_sigcontext_addr (struct frame_info *next_frame)
|
i386nto_sigcontext_addr (struct frame_info *next_frame)
|
||||||
{
|
{
|
||||||
char buf[4];
|
char buf[4];
|
||||||
|
unsigned sp;
|
||||||
|
|
||||||
frame_unwind_register (next_frame, SP_REGNUM, buf);
|
frame_unwind_register (next_frame, SP_REGNUM, buf);
|
||||||
sp = extract_unsigned_integer (buf, 4);
|
sp = extract_unsigned_integer (buf, 4);
|
||||||
|
Loading…
Reference in New Issue
Block a user