From: Luis Machado <luisgpm@linux.vnet.ibm.com>
To: DARIN JOHNSON <darin@usa.net>
Cc: gdb@sourceware.org
Subject: Re: breakpoint on varargs function not working with PowerPC and hard-float
Date: Mon, 26 Jan 2009 12:24:00 -0000 [thread overview]
Message-ID: <1232972677.7275.7.camel@gargoyle> (raw)
In-Reply-To: <617NaXcyg3898S07.1232763906@cmsweb07.cms.usa.net>
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
GDB.
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.
Luis
prev parent reply other threads:[~2009-01-26 12:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-24 2:25 DARIN JOHNSON
2009-01-26 12:24 ` Luis Machado [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1232972677.7275.7.camel@gargoyle \
--to=luisgpm@linux.vnet.ibm.com \
--cc=darin@usa.net \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox