From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20119 invoked by alias); 21 Aug 2004 12:19:35 -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 20100 invoked from network); 21 Aug 2004 12:19:33 -0000 Received: from unknown (HELO legolas.inter.net.il) (192.114.186.24) by sourceware.org with SMTP; 21 Aug 2004 12:19:33 -0000 Received: from zaretski ([80.230.144.169]) by legolas.inter.net.il (MOS 3.4.6-GR) with ESMTP id CIE81402 (AUTH halo1); Sat, 21 Aug 2004 15:18:56 +0300 (IDT) Date: Sat, 21 Aug 2004 12:19:00 -0000 From: "Eli Zaretskii" To: Ton van Overbeek Message-ID: <01c48778$Blat.v2.2.2$88f50200@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 CC: gdb-patches@sources.redhat.com In-reply-to: (message from Ton van Overbeek on Sun, 15 Aug 2004 02:29:40 +0200 (CEST)) Subject: Re: [PATCH] Fix coff symbol table reading problem for C code compiled by g++ Reply-to: Eli Zaretskii References: <7137-Sat14Aug2004143240+0300-eliz@gnu.org> X-SW-Source: 2004-08/txt/msg00607.txt.bz2 > Date: Sun, 15 Aug 2004 02:29:40 +0200 (CEST) > From: Ton van Overbeek > > Here is a script illustrating the problem. Since I am working on a gdb-6.x > port for m68k-palmos the script is m68k-palmos specific (main has to be > called PilotMain), but it should be easy to adapt to the general case. I tried to reproduce this problem with GCC 2.95.2, but couldn't see the problem: an unpatched GDB 6.1 reported "f(void)" instead of "g__Fv". Perhaps the problem was solved in GCC 2.95.2, or it is specific to the m68k-palmos port. Nevertheless, I cannot see any problems with the proposed patch, so as a maintainer of one of the few GDB ports that use COFF debugging info, I recommend this patch for being accepted. Jim and Elena, could you please review this and approve it if you don't have any objections?