[RFA] fix "ptype $pc" internal-error

Joel Brobecker brobecker@adacore.com
Wed Jan 30 19:01:00 GMT 2008


> > 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
> > 
> >         * eval.c (evaluate_subexp_standard): Add handling of user
> >         registers when in EVAL_AVOID_SIDE_EFFECTS mode.
> 
> OK.

Thanks. I checked it in.

> > 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
> > 
> >         * gdb.base/ptype.exp: Add testing of "ptype $pc".
> 
> Might want to loosen the expected type; I don't think every platform
> returns a function type for PC.
> 
> Then again, might not want to - everyone should do so :-)

:). I checked the test as-is, Mark agreed that it was better this way.

-- 
Joel



More information about the Gdb-patches mailing list