From: Christophe LYON <christophe.lyon@st.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH] obvious pattern fix in gdb.base/step-line.exp
Date: Fri, 17 Apr 2009 17:07:00 -0000 [thread overview]
Message-ID: <49E8B701.1000402@st.com> (raw)
In-Reply-To: <49D47C75.9000206@st.com>
>
>> I'm OK with leaving the testcase untouched if we don't need to.
> OK. So I won't commit my patch, and fix the compiler instead.
>
I have been trying to fix the compiler so that it behaves like GCC
(using 2 separate filenames for the actual source file and for the one
provided with #line), but I get regressions later in step-line.exp.
After dumping the debug_line info (with readelf and/or dwarfdump), I
mostly noticed that the file number has changed according to the
compiler fix.
However, from GDB, using "maintenance print symbols", I noticed that
quite a few lines have become "0" instead of meaningful values. In turn,
I thinks this makes skip_prologue do something wrong.
What I dont' understand currently is where those "0" line entries come
from? Is there any verbose flag or maintenance command I could use to
understand how the Dwarf debug_line info is parsed?
Thanks,
Christophe.
next prev parent reply other threads:[~2009-04-17 17:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-27 14:05 Christophe LYON
2009-03-27 18:53 ` Joel Brobecker
2009-03-30 13:51 ` Christophe LYON
2009-03-30 18:23 ` Joel Brobecker
2009-03-31 15:25 ` Christophe LYON
2009-04-01 18:32 ` Joel Brobecker
2009-04-02 8:52 ` Christophe LYON
2009-04-17 17:07 ` Christophe LYON [this message]
2009-04-17 17:30 ` Daniel Jacobowitz
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=49E8B701.1000402@st.com \
--to=christophe.lyon@st.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sources.redhat.com \
/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