Export bits of the demangler's internal interface

Daniel Jacobowitz drow@mvista.com
Fri Jan 2 14:06:00 GMT 2004


On Thu, Jan 01, 2004 at 09:55:46PM -0500, DJ Delorie wrote:
> 
> > I rename symbols using #define to give them more verbose names
> > without changing the demangler source, to constrain the namespace
> > pollution.
> 
> That's an ugly way of doing it, and makes debugging more difficult.

Well, giving these commonly-used functions different names in the
source and renaming functions as we need to export them makes
maintenance more difficult.  And with gdb -g3 the debugger will handle
it transparently.

Better ideas?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gcc-patches mailing list