This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/5.2/commit] Zap __func__
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Andrew Cagney <ac131313 at ges dot redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 15 Jul 2002 13:52:06 -0400
- Subject: Re: [patch/5.2/commit] Zap __func__
- References: <3D32FB89.8030403@ges.redhat.com>
On Mon, Jul 15, 2002 at 12:42:49PM -0400, Andrew Cagney wrote:
> Just FYI,
>
> I've committed this to the 5.2 branch - zap more __func__s. It's brutal
> but it works :-)
>
> enjoy,
> Andrew
> 2002-07-15 Andrew Cagney <ac131313@redhat.com>
>
> * dwarf2cfi.c: Replace __func__ with "?func?".
Er, hunh?
First of all, is there any reason that __FUNCTION__ is not adequately
portable? I think it is. Second of all, if you're going to remove
__func__ you could at least replace it with the name of the function.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer