From: Jim Blandy <jimb@redhat.com>
To: David Carlton <carlton@math.stanford.edu>
Cc: gdb <gdb@sources.redhat.com>
Subject: Re: DWARF-2, static data members
Date: Tue, 13 Aug 2002 15:29:00 -0000 [thread overview]
Message-ID: <vt265yexuza.fsf@zenia.red-bean.com> (raw)
In-Reply-To: <ro165yejwpf.fsf@jackfruit.Stanford.EDU>
David Carlton <carlton@math.stanford.edu> writes:
> > Have you run `readelf -wi' on the executable, or run GCC with
> > `-save-temps -dA' and looked at the .s file, to see what GCC is
> > actually generating? I think GCC does generate children of
> > struct/class types with the DW_TAG_variable tag.
>
> I'll have to look up what those arguments mean :-), but I did do g++
> -S yesterday and went through the .s file by hand. (Fun, and
> educational, though I don't plan to do it too often.) It really is
> generating DW_TAG_variable tags instead of DW_TAG_member tags.
Heh. Do try out -save-temps -dA. :)
> > You might put together a fix for GCC, too --- dwarf2out.c is big,
> > but it doesn't seem too bad. This would allow you to actually test
> > your changes.
>
> I'll give it a look. I did submit a PR for GCC, so at least it's in
> their bug database.
Sounds good.
prev parent reply other threads:[~2002-08-13 22:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-09 15:10 David Carlton
2002-08-13 13:48 ` Jim Blandy
2002-08-13 14:05 ` David Carlton
2002-08-13 15:29 ` Jim Blandy [this message]
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=vt265yexuza.fsf@zenia.red-bean.com \
--to=jimb@redhat.com \
--cc=carlton@math.stanford.edu \
--cc=gdb@sources.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