This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/5.3] No __FUNCTION__
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 29 Sep 2002 12:46:14 -0400
- Subject: Re: [patch/5.3] No __FUNCTION__
- References: <3D971F0C.2090807@redhat.com>
On Sun, Sep 29, 2002 at 11:41:00AM -0400, Andrew Cagney wrote:
> I've committed the attached (with a hesatant ok from MarkK) (HEAD and
> branch).
>
> What GDB needs is something that works regardless of the compiler.
>
> Andrew
Where is this usage of __FUNCTION__ not portable? Concatenating it
with things, now there's a problem; but I don't remember any compiler
that couldn't handle function(__FUNCTION__).
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer