* [RFA] rs6000-nat.c fetch_register error condition.
@ 2001-12-20 9:11 Elena Zannoni
2001-12-20 14:16 ` Kevin Buettner
0 siblings, 1 reply; 3+ messages in thread
From: Elena Zannoni @ 2001-12-20 9:11 UTC (permalink / raw)
To: gdb-patches; +Cc: kevinb
I am trying to break down the Altivec patch in smaller pieces that
don't require a ptrace interface.
I thought this bit had been approved by Kevin in
http://sources.redhat.com/ml/gdb-patches/2001-11/msg00564.html
but it wasn't.
Kevin, OK to commit?
Elena
2001-12-20 Elena Zannoni <ezannoni@redhat.com>
* rs6000-nat.c (fetch_register): Don't error out unless the
register number is really bogus.
Index: rs6000-nat.c
===================================================================
RCS file: /cvs/uberbaum/gdb/rs6000-nat.c,v
retrieving revision 1.18
diff -u -r1.18 rs6000-nat.c
--- rs6000-nat.c 2001/12/19 14:14:52 1.18
+++ rs6000-nat.c 2001/12/20 16:57:30
@@ -206,9 +206,12 @@
/* Bogus register number. */
else if (regno > LAST_UISA_SP_REGNUM)
- fprintf_unfiltered (gdb_stderr,
- "gdb error: register no %d not implemented.\n",
- regno);
+ {
+ if (regno >= NUM_REGS)
+ fprintf_unfiltered (gdb_stderr,
+ "gdb error: register no %d not implemented.\n",
+ regno);
+ }
/* Fixed-point registers. */
else
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFA] rs6000-nat.c fetch_register error condition.
2001-12-20 9:11 [RFA] rs6000-nat.c fetch_register error condition Elena Zannoni
@ 2001-12-20 14:16 ` Kevin Buettner
2001-12-20 15:32 ` Elena Zannoni
0 siblings, 1 reply; 3+ messages in thread
From: Kevin Buettner @ 2001-12-20 14:16 UTC (permalink / raw)
To: Elena Zannoni, gdb-patches; +Cc: kevinb
On Dec 20, 11:24am, Elena Zannoni wrote:
> I am trying to break down the Altivec patch in smaller pieces that
> don't require a ptrace interface.
>
> I thought this bit had been approved by Kevin in
> http://sources.redhat.com/ml/gdb-patches/2001-11/msg00564.html
>
> but it wasn't.
>
> Kevin, OK to commit?
>
> Elena
>
>
> 2001-12-20 Elena Zannoni <ezannoni@redhat.com>
>
> * rs6000-nat.c (fetch_register): Don't error out unless the
> register number is really bogus.
Sure, OK.
Kevin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFA] rs6000-nat.c fetch_register error condition.
2001-12-20 14:16 ` Kevin Buettner
@ 2001-12-20 15:32 ` Elena Zannoni
0 siblings, 0 replies; 3+ messages in thread
From: Elena Zannoni @ 2001-12-20 15:32 UTC (permalink / raw)
To: Kevin Buettner; +Cc: Elena Zannoni, gdb-patches, kevinb
Kevin Buettner writes:
> On Dec 20, 11:24am, Elena Zannoni wrote:
>
> > I am trying to break down the Altivec patch in smaller pieces that
> > don't require a ptrace interface.
> >
> > I thought this bit had been approved by Kevin in
> > http://sources.redhat.com/ml/gdb-patches/2001-11/msg00564.html
> >
> > but it wasn't.
> >
> > Kevin, OK to commit?
> >
> > Elena
> >
> >
> > 2001-12-20 Elena Zannoni <ezannoni@redhat.com>
> >
> > * rs6000-nat.c (fetch_register): Don't error out unless the
> > register number is really bogus.
>
> Sure, OK.
>
> Kevin
it's in.
Elena
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-12-20 23:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-20 9:11 [RFA] rs6000-nat.c fetch_register error condition Elena Zannoni
2001-12-20 14:16 ` Kevin Buettner
2001-12-20 15:32 ` Elena Zannoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox