From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18388 invoked by alias); 15 Apr 2009 20:17:03 -0000 Received: (qmail 18377 invoked by uid 22791); 15 Apr 2009 20:17:02 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout2.012.net.il (HELO mtaout2.012.net.il) (84.95.2.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Apr 2009 20:16:55 +0000 Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KI500D00S5B6C00@i_mtaout2.012.net.il> for gdb-patches@sourceware.org; Wed, 15 Apr 2009 23:16:49 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.229.34.97]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KI500J1ASC0HBA0@i_mtaout2.012.net.il>; Wed, 15 Apr 2009 23:16:49 +0300 (IDT) Date: Wed, 15 Apr 2009 20:17:00 -0000 From: Eli Zaretskii Subject: Re: DWARF-related warnings in DJGPP build of GDB In-reply-to: To: tromey@redhat.com Cc: brobecker@adacore.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83iql5llja.fsf@gnu.org> References: <834owqmdli.fsf@gnu.org> <20090415162242.GC7585@adacore.com> <83k55llnv6.fsf@gnu.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-04/txt/msg00349.txt.bz2 > Cc: Joel Brobecker , gdb-patches@sourceware.org > From: Tom Tromey > Date: Wed, 15 Apr 2009 13:47:45 -0600 > > >>>>> "Eli" == Eli Zaretskii writes: > > Pedro> You could try dumping the DWARF data if you have a tool that does that > Pedro> on your system. > > Eli> What tools can do that? Is there a way of doing this with Binutils? > > You can use objdump -W or readelf -w (if DJGPP uses ELF) to dump debug > info. Thanks. readelf is out, because DJGPP uses COFF. "objdump -W" (with a recent enough Binutils ;-) seems to do the job, thanks. How to use the info it dumps on me to track down my particular problems is another matter. Hmmm...