From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19838 invoked by alias); 17 Jun 2003 17:51:00 -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 19786 invoked from network); 17 Jun 2003 17:51:00 -0000 Received: from unknown (HELO hub.ott.qnx.com) (209.226.137.76) by sources.redhat.com with SMTP; 17 Jun 2003 17:51:00 -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 NAA20572; Tue, 17 Jun 2003 13:44:20 -0400 Received: from catdog ([10.4.2.2]) by smtp.ott.qnx.com (8.8.8/8.6.12) with SMTP id NAA11334; Tue, 17 Jun 2003 13:50:58 -0400 Message-ID: <093b01c334f9$087e45a0$0202040a@catdog> From: "Kris Warkentin" To: "Andrew Cagney" Cc: "Gdb-Patches@Sources.Redhat.Com" References: <092c01c334f7$17a8c9d0$0202040a@catdog> <3EEF52E4.1060708@redhat.com> Subject: Re: [ob] fix i366-nto-tdep.c Date: Tue, 17 Jun 2003 17:51: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/msg00569.txt.bz2 Oops...sorry. Looked at 'extract_unsigned' rather than 'function returning CORE_ADDR'. That's two careless ones in one day. I fixed and committed it. cheers, Kris ----- Original Message ----- From: "Andrew Cagney" To: "Kris Warkentin" Cc: "Gdb-Patches@Sources.Redhat.Com" Sent: Tuesday, June 17, 2003 1:41 PM Subject: Re: [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); > > You'll want that to be CORE_ADDR. > > Andrew > > >