DWARF2 reader

Daniel Jacobowitz drow@mvista.com
Mon Feb 3 17:17:00 GMT 2003


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



More information about the Gdb mailing list