This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] decoded output of .debug_line from readelf -wL
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