This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA 2/4] dwarf2_physname


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]