From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Michael Snyder <msnyder@vmware.com>
Cc: Tom Tromey <tromey@redhat.com>,
"gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: question, re: gdb.base/label.exp
Date: Thu, 24 Feb 2011 19:26:00 -0000 [thread overview]
Message-ID: <20110224192603.GA22762@host1.dyn.jankratochvil.net> (raw)
In-Reply-To: <4D66A1A8.2010503@vmware.com>
On Thu, 24 Feb 2011 19:21:28 +0100, Michael Snyder wrote:
> <2><16e>: Abbrev Number: 8 (DW_TAG_label)
> DW_AT_name : here
> DW_AT_decl_file : 1
> DW_AT_decl_line : 16
************************** ^^ here should be 9
> DW_AT_low_pc : 0x4004e0
>
> I'm using gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-50)
symbol_found() uses just SYMBOL_LINE.
The question is if we say this GCC is broken (and XFAIL it or move it to
gdb.dwarf2/) or whether GDB should use SYMBOL_VALUE_ADDRESS.
I am for the latter, DWARF talks for DW_TAG_label about DW_AT_low_pc and not
about DW_AT_decl_line.
Thanks,
Jan
next prev parent reply other threads:[~2011-02-24 19:26 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 [this message]
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
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=20110224192603.GA22762@host1.dyn.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=gdb@sourceware.org \
--cc=msnyder@vmware.com \
--cc=tromey@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