This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Export bits of the demangler's internal interface
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, ian at airs dot com
- Date: Fri, 2 Jan 2004 09:06:53 -0500
- Subject: Re: Export bits of the demangler's internal interface
- References: <20031230213416.GA16140@nevyn.them.org> <200312302151.hBULpFat026204@greed.delorie.com> <20040102005633.GA18750@nevyn.them.org> <200401020255.i022tkjQ024062@greed.delorie.com>
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