From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18203 invoked by alias); 17 Mar 2002 08:11:19 -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 18128 invoked from network); 17 Mar 2002 08:11:18 -0000 Received: from unknown (HELO taltos.codesourcery.com) (66.92.14.122) by sources.redhat.com with SMTP; 17 Mar 2002 08:11:18 -0000 Received: from zack by taltos.codesourcery.com with local (Exim 3.35 #1 (Debian)) id 16mVl7-0002U4-00; Sun, 17 Mar 2002 00:11:17 -0800 Date: Sun, 17 Mar 2002 00:11:00 -0000 To: Jim Blandy Cc: gdb-patches@sources.redhat.com, gcc@gcc.gnu.org Subject: Re: RFC: C/C++ preprocessor macro support for GDB Message-ID: <20020317081117.GF896@codesourcery.com> References: <20020317062306.CC96D5E9DE@zwingli.cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020317062306.CC96D5E9DE@zwingli.cygnus.com> User-Agent: Mutt/1.3.27i From: Zack Weinberg X-SW-Source: 2002-03/txt/msg00274.txt.bz2 On Sun, Mar 17, 2002 at 01:23:06AM -0500, Jim Blandy wrote: > > The patch reads Dwarf 2 macro information, which GCC doesn't currently > generate. (In fact, I don't know if any compiler generates it at the > moment.) I've tested it against some hand-written ".debug_macinfo" > sections, which I'll post in the next message. So it's not actually > useful yet. Did you try -gdwarf-2 -g3 (i.e. level 3 of dwarf2 debug)? It's not generated by default due to the space cost, but I think GCC will do it. zw