[RFA 2/4] dwarf2_physname
Daniel Jacobowitz
dan@codesourcery.com
Thu Feb 4 17:25:00 GMT 2010
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
More information about the Gdb-patches
mailing list