This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] fix "ptype $pc" internal-error
On Fri, Jan 04, 2008 at 02:49:43AM -0800, Joel Brobecker wrote:
> 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.
> 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 :-)
--
Daniel Jacobowitz
CodeSourcery