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: [rfc] Simplify ppc64_sysv_abi_adjust_breakpoint_address


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


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