This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Powerpc disassembly and gdb breakpoints
- From: Daniel Jacobowitz <drow at false dot org>
- To: binutils at sourceware dot org
- Date: Tue, 13 May 2008 22:44:03 -0400
- Subject: Re: Powerpc disassembly and gdb breakpoints
- References: <20080514022043.GA11328@bubble.grove.modra.org>
On Wed, May 14, 2008 at 11:50:43AM +0930, Alan Modra wrote:
> + Solving (a) could be done by code scanning, but older
> + ppc64 binaries used different stubs to current code.
> + (b) is the tricky one since you need to known the toc
> + pointer for at least one function that uses a pic stub to
> + be able to calculate the plt address referenced.
> + (c) means gdb would need to set multiple breakpoints (or
> + find the glink branch itself) when setting breakpoints
> + for pending shared library loads. */
FYI, (c) is already solved. The others I can't help you with :-)
--
Daniel Jacobowitz
CodeSourcery