This is a very simple patch to allow languages other than C to be demangled.
2002-11-19 Adam Fedor <fedor@gnu.org>
* gdb/maint.c (maintenance_demangle): Add switch to demangle
other language's symbols.
Shouldn't this be in a wrapper somewhere? Aren't we going to need to
demangle ObjC symbols in a lot of places where we demangle C++ symbols?
Objective-C is much simpler than C++ and has other ways to get things
like class information (for instance), so this needs to be done in only
a few places (Three, to be exact. Well, really, just two, and this is
the second one).