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: Get backtrace at PLT and stepi into PLT


On Mon, Jul 20, 2009 at 03:36:18PM +0800, Thinker Li wrote:
> And, as what you had said, there are a lot of ABI-defined mapping symbols
> ($a, $t) in symbol tables of shared objects.  But, they are generated
> only for .text but .plt section.  So, it got nothing to try to issue
> a backtrace command when the inferior is stopped at .plt section.
> 
> Is GNU ld supposed to generate ABI-defined mapping symbols for
> .plt?  Or, does GDB need to do more work on this issue?

Mapping symbols are used for other things, like setting breakpoints,
but not for backtrace.  What's the actual problem with backtracing?

Current versions of GNU ld do generate correct mapping symbols for the
PLT.  Some earlier versions didn't, though.

-- 
Daniel Jacobowitz
CodeSourcery


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