This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]