From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21508 invoked by alias); 3 Feb 2003 17:17:23 -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 21420 invoked from network); 3 Feb 2003 17:17:22 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by 172.16.49.205 with SMTP; 3 Feb 2003 17:17:22 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18fm6e-000690-00; Mon, 03 Feb 2003 13:18:12 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18fkEL-0006mB-00; Mon, 03 Feb 2003 12:18:01 -0500 Date: Mon, 03 Feb 2003 17:17:00 -0000 From: Daniel Jacobowitz To: Elad Hollander Cc: "Gdb (E-mail)" Subject: Re: DWARF2 reader Message-ID: <20030203171801.GA26031@nevyn.them.org> Mail-Followup-To: Elad Hollander , "Gdb (E-mail)" References: <988BE481ACC95C429DCB909F74A3163A237865@exchange-il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <988BE481ACC95C429DCB909F74A3163A237865@exchange-il> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-02/txt/msg00058.txt.bz2 On Mon, Feb 03, 2003 at 07:13:54PM +0200, Elad Hollander wrote: > Hi, > > I develop a compiler that outputs dwarf debug info to the .asm file. > What I seek is some utility to check the correctness of the debug info. > I don't have an object file- just the .asm with the dwarf debug info. > > Can gdb be of any help? > Can the mechanisms in dwarf2read.c be used? > > As much as I have looked I found no utility to do it. Can anyone help? Not really. I recommend building an object file and using 'readelf' from binutils to decode the information. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer