* Gdb dwarf bug ([BUG] Regression in 2.14.90 (relative to 2.13.90))
[not found] ` <m3oev9n8r7.fsf@redhat.com>
@ 2003-11-19 19:54 ` H. J. Lu
2003-11-19 21:52 ` Carlo Wood
0 siblings, 1 reply; 2+ messages in thread
From: H. J. Lu @ 2003-11-19 19:54 UTC (permalink / raw)
To: Nick Clifton, GDB; +Cc: binutils, jason
On Tue, Nov 18, 2003 at 12:47:40PM +0000, Nick Clifton wrote:
> Hi Carlo,
>
> > The correct output would give an entry with PC = 0. And you get
> > (just like me) two entries with both a non-zero PC, which is the
> > bug. If you would *compile/link* the test case with binutils
> > 2.3.90, then you would see different results, which is correct.
>
> Ok - I think I was mistaken when I reported that the current sources
> generate a non-0 address table for the discard wa2.C compilation
> unit. Looking further into the "readelf -wl" output of the a.out file
> built from wa.c and wa2.c using todays gcc/binutils I get this:
>
Carlo is right. ld is changed to work around
http://sources.redhat.com/ml/binutils/2003-06/msg00473.html
The problem is gdb can't deal with discarded line info in different
CUs.
H.J.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Gdb dwarf bug ([BUG] Regression in 2.14.90 (relative to 2.13.90))
2003-11-19 19:54 ` Gdb dwarf bug ([BUG] Regression in 2.14.90 (relative to 2.13.90)) H. J. Lu
@ 2003-11-19 21:52 ` Carlo Wood
0 siblings, 0 replies; 2+ messages in thread
From: Carlo Wood @ 2003-11-19 21:52 UTC (permalink / raw)
To: H. J. Lu; +Cc: Nick Clifton, GDB, binutils, jason
On Wed, Nov 19, 2003 at 11:54:09AM -0800, H. J. Lu wrote:
> Carlo is right. ld is changed to work around
>
> http://sources.redhat.com/ml/binutils/2003-06/msg00473.html
>
> The problem is gdb can't deal with discarded line info in different
> CUs.
I still don't get this. "gdb can't deal with discarded line info"
sounds like gdb should be changed, not ld.
Why was ld changed? The change is incorrect, too, as now turns out.
--
Carlo Wood <carlo@alinoe.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-11-19 21:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20031112164010.GA12273@alinoe.com>
[not found] ` <m3brrg1cu8.fsf@redhat.com>
[not found] ` <20031113223639.GA26358@alinoe.com>
[not found] ` <m38ymjxoka.fsf@redhat.com>
[not found] ` <20031115164357.GA6521@alinoe.com>
[not found] ` <m3oev9n8r7.fsf@redhat.com>
2003-11-19 19:54 ` Gdb dwarf bug ([BUG] Regression in 2.14.90 (relative to 2.13.90)) H. J. Lu
2003-11-19 21:52 ` Carlo Wood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox