* [ob] fix i366-nto-tdep.c
@ 2003-06-17 17:37 Kris Warkentin
2003-06-17 17:42 ` Andrew Cagney
0 siblings, 1 reply; 3+ messages in thread
From: Kris Warkentin @ 2003-06-17 17:37 UTC (permalink / raw)
To: Gdb-Patches@Sources.Redhat.Com
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);
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [ob] fix i366-nto-tdep.c
2003-06-17 17:37 [ob] fix i366-nto-tdep.c Kris Warkentin
@ 2003-06-17 17:42 ` Andrew Cagney
2003-06-17 17:51 ` Kris Warkentin
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Cagney @ 2003-06-17 17:42 UTC (permalink / raw)
To: Kris Warkentin; +Cc: Gdb-Patches@Sources.Redhat.Com
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [ob] fix i366-nto-tdep.c
2003-06-17 17:42 ` Andrew Cagney
@ 2003-06-17 17:51 ` Kris Warkentin
0 siblings, 0 replies; 3+ messages in thread
From: Kris Warkentin @ 2003-06-17 17:51 UTC (permalink / raw)
To: Andrew Cagney; +Cc: Gdb-Patches@Sources.Redhat.Com
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" <ac131313@redhat.com>
To: "Kris Warkentin" <kewarken@qnx.com>
Cc: "Gdb-Patches@Sources.Redhat.Com" <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
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-06-17 17:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-17 17:37 [ob] fix i366-nto-tdep.c Kris Warkentin
2003-06-17 17:42 ` Andrew Cagney
2003-06-17 17:51 ` Kris Warkentin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox