This is the mail archive of the
mailing list for the GDB project.
Re: [rfc] Simplify ppc64_sysv_abi_adjust_breakpoint_address
- From: Luis Machado <luisgpm at linux dot vnet dot ibm dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: Daniel Jacobowitz <drow at false dot org>, gdb-patches at sourceware dot org
- Date: Thu, 09 Oct 2008 15:02:04 -0300
- Subject: Re: [rfc] Simplify ppc64_sysv_abi_adjust_breakpoint_address
- References: <200810091759.m99Hx0cU006375@d12av02.megacenter.de.ibm.com>
- Reply-to: luisgpm at linux dot vnet dot ibm dot com
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?
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
9 AT_ENTRY Entry point of program 0x100111d0
(gdb) x/g 0x100111d0
0x100111d0 <_start>: 0x000000001000053c