This is the mail archive of the
mailing list for the GDB project.
Re: breakpoint on varargs function not working with PowerPC and hard-float
- From: Luis Machado <luisgpm at linux dot vnet dot ibm dot com>
- To: DARIN JOHNSON <darin at usa dot net>
- Cc: gdb at sourceware dot org
- Date: Mon, 26 Jan 2009 10:24:36 -0200
- Subject: Re: breakpoint on varargs function not working with PowerPC and hard-float
- References: <617NaXcyg3898S07.email@example.com>
- Reply-to: luisgpm at linux dot vnet dot ibm dot com
Didn't copy the list before, now doing so...
On Fri, 2009-01-23 at 18:25 -0800, DARIN JOHNSON wrote:
> There seems to be a problem on PowerPC when setting
> a breakpoint on some functions. The breakpoint is
> placed on an address that will never be reached, so
> that GDB will not stop when stepping into that function.
Yes, i'm aware of this problem and i'm current looking into it from
GCC's side. It's indeed a part of the prologue, that may or may not be
executed, but GCC creates two distinct line number entries, confusing
I'm not sure if sticking one extra case on rs6000_skip_prologue is the
best solution since the debugging information must be right for GDB, it
would be more of a workaround to the problem. Might be a temporary
solution until there's a fix on GCC.