This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: Export bits of the demangler's internal interface


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


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