[rfc] Simplify ppc64_sysv_abi_adjust_breakpoint_address

Ulrich Weigand uweigand@de.ibm.com
Thu Oct 9 18:06:00 GMT 2008


Luis Machado wrote:

> 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

I see.  Couldn't you just use
  b _start
and everything should work as expected?

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com



More information about the Gdb-patches mailing list