This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] fix "ptype $pc" internal-error
> > 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