* i386-nto-tdep.c (i386nto_sigcontext_addr): Declare sp before using.
authorKris Warkentin <kewarken@qnx.com>
Tue, 17 Jun 2003 17:38:32 +0000 (17:38 +0000)
committerKris Warkentin <kewarken@qnx.com>
Tue, 17 Jun 2003 17:38:32 +0000 (17:38 +0000)
gdb/ChangeLog
gdb/i386-nto-tdep.c

index 47e663fd3a309c1b1ce8c02a68c438f9d155da30..732ebc3d5517bc4db5e666fa97d6b676783e862b 100644 (file)
@@ -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>
 
        * ppc-linux-tdep.c: "Linux" -> "GNU/Linux"
index 381119f7033769ed952d9ba4c004e07d9542c752..4047f42b0173206f8eb37209f7112da62e69b606 100644 (file)
@@ -240,6 +240,7 @@ static CORE_ADDR
 i386nto_sigcontext_addr (struct frame_info *next_frame)
 {
   char buf[4];
+  unsigned sp;
 
   frame_unwind_register (next_frame, SP_REGNUM, buf);
   sp = extract_unsigned_integer (buf, 4);