Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "H. J. Lu" <hjl@lucon.org>
To: Nick Clifton <nickc@redhat.com>, GDB <gdb@sources.redhat.com>
Cc: binutils@sources.redhat.com, jason@redhat.com
Subject: Gdb dwarf bug ([BUG] Regression in 2.14.90 (relative to 2.13.90))
Date: Wed, 19 Nov 2003 19:54:00 -0000	[thread overview]
Message-ID: <20031119195409.GA1816@lucon.org> (raw)
In-Reply-To: <m3oev9n8r7.fsf@redhat.com>

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.


       reply	other threads:[~2003-11-19 19:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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           ` H. J. Lu [this message]
2003-11-19 21:52             ` Carlo Wood

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=20031119195409.GA1816@lucon.org \
    --to=hjl@lucon.org \
    --cc=binutils@sources.redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=jason@redhat.com \
    --cc=nickc@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