From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20734 invoked by alias); 17 Jun 2003 17:37:07 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 20702 invoked from network); 17 Jun 2003 17:37:06 -0000 Received: from unknown (HELO hub.ott.qnx.com) (209.226.137.76) by sources.redhat.com with SMTP; 17 Jun 2003 17:37:06 -0000 Received: from smtp.ott.qnx.com (smtp.ott.qnx.com [10.0.2.158]) by hub.ott.qnx.com (8.9.3p2/8.9.3) with ESMTP id NAA20016 for ; Tue, 17 Jun 2003 13:30:27 -0400 Received: from catdog ([10.4.2.2]) by smtp.ott.qnx.com (8.8.8/8.6.12) with SMTP id NAA02265 for ; Tue, 17 Jun 2003 13:37:04 -0400 Message-ID: <092c01c334f7$17a8c9d0$0202040a@catdog> From: "Kris Warkentin" To: "Gdb-Patches@Sources.Redhat.Com" Subject: [ob] fix i366-nto-tdep.c Date: Tue, 17 Jun 2003 17:37:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-SW-Source: 2003-06/txt/msg00567.txt.bz2 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);