[PATCH] decoded output of .debug_line from readelf -wL

Daniel Jacobowitz drow@false.org
Thu Apr 10 12:24:00 GMT 2008


On Thu, Apr 10, 2008 at 11:47:51AM +0200, Torleif Sandnes wrote:
> so I first look up the directory of the current file with:
> 
> directory_table[file_table[state_machine_regs.file - 1].directory_index]

See the -1 on file?  Same thing for directory_index.  Directory 1 in
the DWARF table gets the first slot.

> For readelf.c this results in:
> 
> .././binutils/../include/elf/readelf.c
> 
> at my computer.
> Could you elaborate on why you think this is a bug?

Can't you guess from your own example? :-)  readelf.c is not in
include/elf/.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Binutils mailing list