From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18826 invoked by alias); 18 Mar 2002 15:39:20 -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 18742 invoked from network); 18 Mar 2002 15:39:17 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.135.44) by sources.redhat.com with SMTP; 18 Mar 2002 15:39:17 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id CD6973EC8; Mon, 18 Mar 2002 10:39:16 -0500 (EST) Message-ID: <3C960A24.8030207@cygnus.com> Date: Mon, 18 Mar 2002 07:39:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.8) Gecko/20020210 X-Accept-Language: en-us MIME-Version: 1.0 To: Jim Blandy 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> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-03/txt/msg00306.txt.bz2 > The following patch adds support for C/C++ preprocessor macros to GDB. > It's tentative: > > - There are no ChangeLog entries. > - It's not broken up into relatively independent changes. > - There's no documentation. > - There are no tests. > - There are some unimplemented features. > > I'll put it in proper form and re-post it soon, but I'm putting it out > now in hopes that folks will try it out and send me bug reports and > suggestions. > > 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. Hmm, nice! Andrew