From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25559 invoked by alias); 9 Jun 2006 12:25:57 -0000 Received: (qmail 25551 invoked by uid 22791); 9 Jun 2006 12:25:57 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 09 Jun 2006 12:25:40 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Fog3R-0006Jp-PN; Fri, 09 Jun 2006 08:25:33 -0400 Date: Fri, 09 Jun 2006 12:25:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii Cc: Jim Blandy , julian@codesourcery.com, gdb-patches@sourceware.org Subject: Re: [PATCH] Accept DWARF 3-format debug info Message-ID: <20060609122532.GA24240@nevyn.them.org> Mail-Followup-To: Eli Zaretskii , Jim Blandy , julian@codesourcery.com, gdb-patches@sourceware.org References: <4488A920.9090705@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11+cvs20060403 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: 2006-06/txt/msg00090.txt.bz2 On Fri, Jun 09, 2006 at 10:28:07AM +0300, Eli Zaretskii wrote: > In this case, what will happen when GDB sees a DWARF-3 feature it > doesn't yet support? I think we should make sure it displays a > warning message, instead of throwing an internal error (or some > similar fatal reaction). Same thing that happens when we see a DWARF-2 feature we don't support ;-) If I remember right, we support most of the DWARF-3 changes relative to DWARF-2 at this point, though there's at least a few bits of the original DWARF-2 that we're missing or bad at. GCC is actually a DWARF-3 producer in almost all ways. It just didn't bump the version number, to avoid upsetting consumers, since most of the changes are forwards-compatible. -- Daniel Jacobowitz CodeSourcery