This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ob] fix i366-nto-tdep.c


Committed as obvious.

cheers,

Kris

ChangeLog:

 * i386-nto-tdep.c (i386nto_sigcontext_addr): Declare sp before using.


Index: i386-nto-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i386-nto-tdep.c,v
retrieving revision 1.3
diff -u -r1.3 i386-nto-tdep.c
--- i386-nto-tdep.c 30 May 2003 19:24:29 -0000 1.3
+++ i386-nto-tdep.c 17 Jun 2003 17:34:13 -0000
@@ -240,6 +240,7 @@
 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);



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]