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: [PATCH] [PowerPC] Detect when LR is saved through frame pointer


Pedro Franco de Carvalho wrote:

> 2018-mm-dd  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
> 
> 	* rs6000-tdep.c (store_insn_p): New function.
> 	(skip_prologue): New variable alloca_reg_offset. Set lr_reg
> 	and cr_reg to their unshifted values. Use store_insn_p to
> 	match LR saves using either R1 or fdata->alloca_reg. Use
> 	store_insn_p to match CR saves. Set alloca_reg_offset
> 	when alloca_reg and framep are set. Remove lr_reg shift
> 	when assigning to fdata->lr_register.

This is OK.

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU/Linux compilers and toolchain
  Ulrich.Weigand@de.ibm.com


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