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

Mark Kettenis mark.kettenis@xs4all.nl
Wed Jan 30 17:31:00 GMT 2008


> Date: Tue, 29 Jan 2008 12:45:36 -0500
> From: Daniel Jacobowitz <drow@false.org>
> 
> 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 :-)

Indeed!  So I'm fine with leaving it as is.



More information about the Gdb-patches mailing list