From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10191 invoked by alias); 18 Mar 2002 03:33:24 -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 10095 invoked from network); 18 Mar 2002 03:33:20 -0000 Received: from unknown (HELO zwingli.cygnus.com) (208.245.165.35) by sources.redhat.com with SMTP; 18 Mar 2002 03:33:20 -0000 Received: by zwingli.cygnus.com (Postfix, from userid 442) id D61BB5E9DE; Sun, 17 Mar 2002 22:33:18 -0500 (EST) To: Zack Weinberg Cc: gdb-patches@sources.redhat.com, gcc@gcc.gnu.org Subject: Re: RFC: C/C++ preprocessor macro support for GDB References: <20020317062306.CC96D5E9DE@zwingli.cygnus.com> <20020317081117.GF896@codesourcery.com> From: Jim Blandy Date: Sun, 17 Mar 2002 19:33:00 -0000 In-Reply-To: <20020317081117.GF896@codesourcery.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-03/txt/msg00294.txt.bz2 Zack Weinberg writes: > 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. Yes, it does! That's great --- so the GDB patch is useable as it stands.