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: Powerpc skip prologue


Hi Daniel,

> > 2008-08-09  Daniel Jacobowitz  <dan@codesourcery.com>
> > 
> > 	* rs6000-tdep.c (struct rs6000_framedata): Add gpr_mask, used_bl,
> > 	lr_register.
> > 	(rs6000_in_function_epilogue_p): Check for bctr.
> > 	(skip_prologue): Initialize lr_register.  Set lr_reg to a register
> > 	number.  Set gpr_mask and used_bl.  Continue scanning while some
> > 	expected registers are not saved.  Set lr_register if LR is not
> > 	stored.
> > 	(rs6000_frame_cache): Handle gpr_mask and lr_register.
> > 
> > 	* gdb.arch/powerpc-prologue.exp: Correct saved registers.
> 
> This tested OK on ppc-linux :-).

Can we commit this change? I don't mind at all doing it for you, but
I thought that doing it unilaterally was bad form :).

-- 
Joel


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