From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32619 invoked by alias); 17 Jun 2003 17:42:01 -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 32581 invoked from network); 17 Jun 2003 17:42:01 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.131) by sources.redhat.com with SMTP; 17 Jun 2003 17:42:01 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 6C07B2B5F; Tue, 17 Jun 2003 13:41:56 -0400 (EDT) Message-ID: <3EEF52E4.1060708@redhat.com> Date: Tue, 17 Jun 2003 17:42:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Warkentin Cc: "Gdb-Patches@Sources.Redhat.Com" Subject: Re: [ob] fix i366-nto-tdep.c References: <092c01c334f7$17a8c9d0$0202040a@catdog> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-06/txt/msg00568.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); You'll want that to be CORE_ADDR. Andrew