From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23495 invoked by alias); 28 May 2004 19:29:53 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 23478 invoked from network); 28 May 2004 19:29:52 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 28 May 2004 19:29:52 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1BTn33-00013u-R4; Fri, 28 May 2004 15:29:45 -0400 Date: Fri, 28 May 2004 19:29:00 -0000 From: Daniel Jacobowitz To: Paul Koning Cc: gdb@sources.redhat.com Subject: Re: preprocessor support? Message-ID: <20040528192945.GA4018@nevyn.them.org> Mail-Followup-To: Paul Koning , gdb@sources.redhat.com References: <16567.37347.995508.204649@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16567.37347.995508.204649@gargle.gargle.HOWL> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-05/txt/msg00193.txt.bz2 On Fri, May 28, 2004 at 03:24:19PM -0400, Paul Koning wrote: > These days GCC will output dwarf2 debug sections listing preprocessor > symbol definitions, but gdb 6.1 doesn't seem to look at that (at least > not for mips-netbsd). > > Is that not implemented yet? Is it in some targets but not this one > (and if so, any pointers to places I might look to teach this target a > new trick)? It should work everywhere, so you'll have to dig at it harder. I'm not sure that it's tested; there's at least one test in the testsuite but I don't see it going out of its way to pass -g3, so the binary won't have macro information. -- Daniel Jacobowitz