This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: FYI: A new C++ demangler
- From: Nathanael Nerode <neroden at twcny dot rr dot com>
- To: fche at redhat dot com
- Cc: gdb at sources dot redhat dot com, binutils at sources dot redhat dot com, hjl at lucon dot org
- Date: Sat, 12 Jul 2003 14:02:28 -0400
- Subject: Re: FYI: A new C++ demangler
Frank Eigler said:
>You might be accused of dogmatic monolingualism if you don't accept
>the notion that some such code may be more naturally expressed in a
>higher level language -- that could be one such reason. Another
>reason of course is the fact that it is already done and working:
>rewriting costs new effort.
Look, if you want to *add a build requirement* to GDB, so that it
*requires* a C++ compiler to build, then then new C++ demangler will
be fine for GDB.
We *don't* want to add such a build requirement for GCC or binutils, for
very good reasons (a lot of systems don't ship with a C++ compiler). HJ
keeps proposing a *completely* demented idea, which is that
the new demangler will be used if a C++ compiler happens to be lying
around during build, and otherwise the broken demangler will be used. I
wish he'd see what's wrong with that picture.
--
Nathanael Nerode <neroden at gcc.gnu.org>
http://home.twcny.rr.com/nerode/neroden/fdl.html