This is the mail archive of the gdb@sources.redhat.com 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: suggestion for dictionary representation


David Carlton <carlton@math.stanford.edu> writes:
> And it's entirely reasonable to think of 'N' as a constant.  Or
> perhaps two constants: one for C programs with short names, one for
> C++ programs with long names.  (And I'm not really sure that the C++
> names will ultimately turn out to be that much longer: once the proper
> namespace support has been added, then looking up a C++ name will
> probably be a multistep process (looking up pieces of the demangled
> name in turn), and for each those steps, we'll be looking at a name
> that will be of the appropriate length for a C program.)

Actually, the insanely long symbol names I've seen have to do with
template abuse, not deeply nested namespaces.  I'm not free to post
the example I have in mind, but I'm pretty sure you'd be disgusted.


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