From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7588 invoked by alias); 15 Jul 2002 16:42:50 -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 7581 invoked from network); 15 Jul 2002 16:42:49 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 15 Jul 2002 16:42:49 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 2D1103C03 for ; Mon, 15 Jul 2002 12:42:49 -0400 (EDT) Message-ID: <3D32FB89.8030403@ges.redhat.com> Date: Mon, 15 Jul 2002 09:50:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020708 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [patch/5.2/commit] Zap __func__ Content-Type: multipart/mixed; boundary="------------000504070405040906010409" X-SW-Source: 2002-07/txt/msg00327.txt.bz2 This is a multi-part message in MIME format. --------------000504070405040906010409 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 117 Just FYI, I've committed this to the 5.2 branch - zap more __func__s. It's brutal but it works :-) enjoy, Andrew --------------000504070405040906010409 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 1154 2002-07-15 Andrew Cagney * dwarf2cfi.c: Replace __func__ with "?func?". Index: dwarf2cfi.c =================================================================== RCS file: /cvs/src/src/gdb/dwarf2cfi.c,v retrieving revision 1.1.2.5 diff -u -r1.1.2.5 dwarf2cfi.c --- dwarf2cfi.c 3 Jul 2002 06:00:26 -0000 1.1.2.5 +++ dwarf2cfi.c 15 Jul 2002 16:40:58 -0000 @@ -860,7 +860,7 @@ } else internal_error (__FILE__, __LINE__, - "%s(): Internal error: fde->cie_ptr==NULL !", __func__); + "%s(): Internal error: fde->cie_ptr==NULL !", "?func?"); } static void @@ -1361,7 +1361,7 @@ orig_context->reg[fs->regs.reg[i].loc.reg].loc.addr; default: internal_error (__FILE__, __LINE__, - "%s: unknown register rule", __func__); + "%s: unknown register rule", "?func?"); } break; case REG_SAVED_EXP: @@ -1379,7 +1379,7 @@ break; default: internal_error (__FILE__, __LINE__, - "%s: unknown register rule", __func__); + "%s: unknown register rule", "?func?"); } get_reg ((char *) &context->ra, context, fs->retaddr_column); unwind_tmp_obstack_free (); --------------000504070405040906010409--