From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31760 invoked by alias); 29 Sep 2002 16:45:57 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 31752 invoked from network); 29 Sep 2002 16:45:55 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 29 Sep 2002 16:45:55 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17vi8Y-0007J7-00; Sun, 29 Sep 2002 12:45:46 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17vhCw-00007F-00; Sun, 29 Sep 2002 12:46:14 -0400 Date: Sun, 29 Sep 2002 09:45:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/5.3] No __FUNCTION__ Message-ID: <20020929164614.GA32746@nevyn.them.org> Mail-Followup-To: Andrew Cagney , gdb-patches@sources.redhat.com References: <3D971F0C.2090807@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D971F0C.2090807@redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-09/txt/msg00711.txt.bz2 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