From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2574 invoked by alias); 4 Dec 2005 22:21:14 -0000 Received: (qmail 2561 invoked by uid 22791); 4 Dec 2005 22:21:14 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 04 Dec 2005 22:21:13 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.4/8.13.4) with ESMTP id jB4MKbPx020369; Sun, 4 Dec 2005 23:20:37 +0100 (CET) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.4/8.13.3) with ESMTP id jB4MKbko004225; Sun, 4 Dec 2005 23:20:37 +0100 (CET) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.4/8.13.4/Submit) id jB4MKbai015633; Sun, 4 Dec 2005 23:20:37 +0100 (CET) Date: Mon, 05 Dec 2005 14:40:00 -0000 Message-Id: <200512042220.jB4MKbai015633@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: jimb@red-bean.com CC: gdb-patches@sourceware.org In-reply-to: <8f2776cb0512041316w14c80cfdka34f84fcbd3c6cdb@mail.gmail.com> (message from Jim Blandy on Sun, 4 Dec 2005 13:16:44 -0800) Subject: Re: [RFC/RFA] Deal with -g1 generated DWARF2 debug info References: <200512041859.jB4IxrVO001319@elgar.sibelius.xs4all.nl> <8f2776cb0512041316w14c80cfdka34f84fcbd3c6cdb@mail.gmail.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00095.txt.bz2 > Date: Sun, 4 Dec 2005 13:16:44 -0800 > From: Jim Blandy > > So, you want to have GDB misinterpret unambiguous Dwarf debugging info > so that you can use -g1? This sounds like a good candidate for a > BSD-specific patch, to me. So people shouldn't try to compile glibc with -g1 on Linux or the Hurd? That'd result in a borked gdb as well. You could argue that GCC is broken, but then given the constraints laid out by the DWARF2 standard, what GCC does seems reasonable to me. Mark