This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 2/4] dwarf2_physname
- From: Daniel Jacobowitz <dan at codesourcery dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Keith Seitz <keiths at redhat dot com>, gdb-patches at sourceware dot org
- Date: Thu, 4 Feb 2010 12:25:08 -0500
- Subject: Re: [RFA 2/4] dwarf2_physname
- References: <m3eimm7t7g.fsf@fleche.redhat.com> <20091222192444.GB15339@caradoc.them.org> <4B576983.2090808@redhat.com> <20100126211733.GA17877@caradoc.them.org> <4B609019.1090807@redhat.com> <4B61F20B.7070908@redhat.com> <20100128202429.GA29835@caradoc.them.org> <4B622047.7020503@redhat.com> <20100201164837.GF21339@caradoc.them.org> <m3y6j8kjbr.fsf@fleche.redhat.com>
On Thu, Feb 04, 2010 at 10:21:44AM -0700, Tom Tromey wrote:
> I don't understand why die_needs_namespace only does this for
> DW_TAG_variable and not other things. I also don't understand why it
> unconditionally returns 1 for enumerators, functions, and the like.
> However, I didn't look to see how it is used, so perhaps it doesn't
> matter.
I think it's because we need to distinguish local and global
variables. Enumerators don't have this problem (I'm not sure about
members).
As for local functions, I have no idea...
--
Daniel Jacobowitz
CodeSourcery