From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5367 invoked by alias); 29 Sep 2002 16:54:45 -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 5359 invoked from network); 29 Sep 2002 16:54:44 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.240.27) by sources.redhat.com with SMTP; 29 Sep 2002 16:54:44 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 5D3213D88; Sun, 29 Sep 2002 12:54:31 -0400 (EDT) Message-ID: <3D973047.6030609@redhat.com> Date: Sun, 29 Sep 2002 09:54:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/5.3] No __FUNCTION__ References: <3D971F0C.2090807@redhat.com> <20020929164614.GA32746@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00712.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__). The macro __FUNCTION__ isn't part of ISO C 90. Andrew