From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8973 invoked by alias); 2 May 2002 01:29:36 -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 8963 invoked from network); 2 May 2002 01:29:34 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 2 May 2002 01:29:34 -0000 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 1735Pf-0003xN-00 for ; Wed, 01 May 2002 21:29:39 -0400 Date: Wed, 01 May 2002 18:29:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: RFA: fix for GDB C++ STABS problem Message-ID: <20020501212939.A15160@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <20020502012250.3FAD65EA11@zwingli.cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020502012250.3FAD65EA11@zwingli.cygnus.com> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-05/txt/msg00023.txt.bz2 On Wed, May 01, 2002 at 08:22:50PM -0500, Jim Blandy wrote: > > Here's a fix for the GDB C++ STABS problem I just posted a test case > for. This prevents `read_struct_type' from scribbling over an > existing definition, but it doesn't prevent `cleanup_undefined_types' > from producing bogus cv chains. That's the next patch coming. > > The real fix, of course, is to switch to Dwarf 2. Amen! Thanks for tracking this down. We could also start supporting the current Sun STABS spec, and then make GCC emit it - it supports things like namespaces quite well. But at that point, well, most ELF targets already default to DWARF-2 in GCC 3.1. I'd rather just go forward with the namespace improvements we were discussing and leave STABS to rot. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer