[rfc] Simplify ppc64_sysv_abi_adjust_breakpoint_address

Luis Machado luisgpm@linux.vnet.ibm.com
Thu Oct 9 18:02:00 GMT 2008


On Thu, 2008-10-09 at 19:59 +0200, Ulrich Weigand wrote:
> Luis Machado wrote:
> 
> > This is exactly about placing breakpoint on numberic addresses like
> > "break *0x...". GDB used to do that correctly before that patch, but it
> > doesn't anymore. So, maybe it's OK to consider this is something the
> > user should be aware of...
> 
> In that case, I'm wondering where you get those addresses from --
> why are those those pointing the descriptor instead of the code?
> 
> Bye,
> Ulrich

This is a very specific case where i fetch the so called entry-point
from the auxv table in a 64-bit ppc binary. It shows the function
descriptor's address.

9    AT_ENTRY             Entry point of program         0x100111d0

(gdb) x/g 0x100111d0
0x100111d0 <_start>:    0x000000001000053c

Luis



More information about the Gdb-patches mailing list