Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
Cc: gdb@sourceware.org
Subject: Re: question, re: gdb.base/label.exp
Date: Tue, 29 Mar 2011 14:54:00 -0000	[thread overview]
Message-ID: <m3d3laou3e.fsf@fleche.redhat.com> (raw)
In-Reply-To: <4D91EE45.10407@linux.vnet.ibm.com> (Edjunior Barbosa Machado's	message of "Tue, 29 Mar 2011 11:35:49 -0300")

>>>>> "Edjunior" == Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> writes:

Edjunior> just clarifying, this means it should be fixed on gcc anyway?

Edjunior> I also ran into the same problem on RHEL5 and, although the
Edjunior> testcase passes ok on RHEL6, DW_AT_decl_line for label 'here'
Edjunior> still seems incorrect (16, instead of 9).

I changed this code in GDB this past week.  Now GDB looks at the label's
DW_AT_low_pc, not DW_AT_decl_line.

I don't know whether there are bugs with this in older versions of GCC.

Tom


  reply	other threads:[~2011-03-29 14:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-23 22:43 Michael Snyder
2011-02-24 14:40 ` Tom Tromey
2011-02-24 18:21   ` Michael Snyder
2011-02-24 18:36     ` Tom Tromey
2011-02-24 19:26     ` Jan Kratochvil
2011-02-24 20:09       ` Tom Tromey
2011-02-25  9:19         ` Jan Kratochvil
2011-03-29 14:36           ` Edjunior Barbosa Machado
2011-03-29 14:54             ` Tom Tromey [this message]
2011-03-29 21:16               ` Jan Kratochvil

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=m3d3laou3e.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=emachado@linux.vnet.ibm.com \
    --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