Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@vmware.com>
To: Tom Tromey <tromey@redhat.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: question, re: gdb.base/label.exp
Date: Thu, 24 Feb 2011 18:21:00 -0000	[thread overview]
Message-ID: <4D66A1A8.2010503@vmware.com> (raw)
In-Reply-To: <m37hcph4xc.fsf@fleche.redhat.com>

Tom Tromey wrote:
>>>>>> "Michael" == Michael Snyder <msnyder@vmware.com> writes:
> 
> Michael> Tom, does this test have a dependency on the compiler version?
> Michael> It's failing on my RHEL5 system with cvs/head gdb.
> 
> It might, but I am not certain.  I looked through the gdb-patches
> archives but my original mail didn't say anything; nor did the PR.
> 
> You can check pretty easily with `readelf -wi' on the `labels'
> executable that is made by the test suite.  Search the output for the
> `there' DIE.  I get:
> 
>  <2><b7>: Abbrev Number: 8 (DW_TAG_label)
>     <b8>   DW_AT_name        : (indirect string, offset: 0xc4): there   
>     <bc>   DW_AT_decl_file   : 1        
>     <bd>   DW_AT_decl_line   : 13       
>     <be>   DW_AT_low_pc      : 0x804840c        
> 
> I think the important parts are that (1) it exists and (2) it has a
> DW_AT_low_pc.

I see this:

  <2><15d>: Abbrev Number: 8 (DW_TAG_label)
      DW_AT_name        : there
      DW_AT_decl_file   : 1
      DW_AT_decl_line   : 13
      DW_AT_low_pc      : 0x4004f1
  <2><16e>: Abbrev Number: 8 (DW_TAG_label)
      DW_AT_name        : here
      DW_AT_decl_file   : 1
      DW_AT_decl_line   : 16
      DW_AT_low_pc      : 0x4004e0

I'm using gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-50)


  reply	other threads:[~2011-02-24 18:21 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 [this message]
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
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=4D66A1A8.2010503@vmware.com \
    --to=msnyder@vmware.com \
    --cc=gdb@sourceware.org \
    --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