This is the mail archive of the gdb-patches@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: [PATCH] Switch to demangle ObjC symbols in maint.c



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).


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