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 v2] Detect __aeabi_read_tp even without symbols


On Wed, Dec 01, 2010 at 05:05:17PM +0100, Ulrich Weigand wrote:
> Dan Jacobowitz wrote:
> > The approach looks good to me.  Two comments on the implementation:
> > the explanation is just as valid in the ARM case as the Thumb case,
> > and we should not do this read if we know the name of the target
> > function and it is different from __aeabi_read_tp.  Both of these can
> > be accomplished by putting the check in skip_prologue_function
> > instead.
> 
> This version implements the suggestion to move the check into
> skip_prologue_function itself (which requires passing some
> additional data into that function).
> 
> [ As an aside, the new implementation also avoids the empty-
> statement construct that Mark disliked ... ]
> 
> Re-tested with same results on armv7l-linux-gnueabi.
> 
> OK for mainline?

Looks good to me.

-- 
Daniel Jacobowitz
CodeSourcery


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