Powerpc disassembly and gdb breakpoints

Daniel Jacobowitz drow@false.org
Wed May 14 02:44:00 GMT 2008


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



More information about the Binutils mailing list