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 thinko in arm-tdep.c arm_stub_unwind_sniffer


On Wed, Mar 03, 2010 at 06:05:23PM -0800, Doug Evans wrote:
> Hi.
> 
> Ok to check in?
> 
> [The result is a boolean indicating success, so why call
> target_read_memory if in_plt_section failed, and why return non-zero
> if target_read_memory failed?]

No, it's correct.  We want to use the stub unwinder if we are in the
PLT.  We also want to use the stub unwinder if the PC points at an
unreadable address, because the prologue unwinder would try to read
code from pc.  Did this cause a problem?

-- 
Daniel Jacobowitz
CodeSourcery


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