How to lookup a symbol for vma using BFD?

Dmitry Smirnov divis1969@gmail.com
Thu Aug 7 15:52:00 GMT 2008


Yes, I understand it.
But let's assume I do not have such a possibility. I just need to know
what is the name of the file that contains some address.

2008/8/7 Nick Clifton <nickc@redhat.com>:
> Hi Dmitry,
>
>> I've found that the comp unit for this file contains no
>> DW_AT_stmt_list attribute and comp_unit_maybe_decode_line_info() from
>> dwarf2.c returns FALSE thus preventing comp_unit_find_line() from
>> looking up variable table.
>
> You need to include DWARF2 debugging info in your object files for this
> work.  ie you need to have the "-g" switch present on gcc's command line
> when you compile your object files.
>
> Cheers
>  Nick
>
>
>



More information about the Binutils mailing list