From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6978 invoked by alias); 17 Jan 2003 20:07:34 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 6971 invoked from network); 17 Jan 2003 20:07:33 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 17 Jan 2003 20:07:33 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h0HJd3B28533 for ; Fri, 17 Jan 2003 14:39:03 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h0HK7Xa24458 for ; Fri, 17 Jan 2003 15:07:33 -0500 Received: from localhost.redhat.com (romulus-int.sfbay.redhat.com [172.16.27.46]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h0HK7WI17389 for ; Fri, 17 Jan 2003 15:07:32 -0500 Received: by localhost.redhat.com (Postfix, from userid 469) id 0634BFF79; Fri, 17 Jan 2003 15:11:51 -0500 (EST) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15912.25479.356230.754901@localhost.redhat.com> Date: Fri, 17 Jan 2003 20:07:00 -0000 To: David Carlton Cc: Michael Elizabeth Chastain , drow@mvista.com, gdb Subject: Re: GDB DWARF-1 C++ support In-Reply-To: References: <200301171928.h0HJS8805276@duracef.shout.net> X-SW-Source: 2003-01/txt/msg00327.txt.bz2 Sorry, I am really busy, and didn't participate in this thread, but NO! dwarf1 support should be dead. I am looking at gcc: % grep DWARF config/* these are the only references to DWARF1 I can spot, and I bet are really old. config/elfos.h:/* System V Release 4 uses DWARF debugging info. */ config/elfos.h:#define DWARF_DEBUGGING_INFO 1 config/ptx4.h:/* Use DWARF debugging info by default. */ config/ptx4.h:#define PREFERRED_DEBUGGING_TYPE DWARF_DEBUG Elena David Carlton writes: > [ I've retitled this bit of the thread and moved it to gdb@. ] > > On Fri, 17 Jan 2003 13:28:08 -0600, Michael Elizabeth Chastain said: > > > Here is what I want to do about gdb DWARF-1 C++ support: > > > make a policy decision whether gdb supports DWARF-1 with C++ > > > if yes: > > remove all the setup_xfail_format DWARF-1 calls > > add regular DWARF-1 testing > > file about 50 new PR's for all the new FAIL's > > file PR's against gcc for the external bugs (and they will hate us) > > > if no: > > document that gdb supports C++ with DWARF-2 or stabs+ but not DWARF-1 > > add a DWARF-1 check to "skip_cplus_tests" > > remove all the setup_xfail_format DWARF-1 calls > > Yup. I'm not familiar with DWARF-1, so conceivably it's possible > that we want to support C++ DWARF-1 debugging but that DWARF-1 is by > nature incapable of supporting the full range of C++ features, in > which case we'd only skip certain C++ tests under DWARF-1. But I'm > really not worried about that possibility for now. > > Anyways, my kneejerk reaction is that no, we shouldn't support it: I > have a hard time imagining a scenario where it would be a profitable > use of resources to work on supporting DWARF-1. What platforms use it > as their native debugging format? What C++ compilers run on those > platforms? > > David Carlton > carlton@math.stanford.edu