question about using gcc, addr2line, objdump on solaris 8

Nick Clifton nickc@redhat.com
Thu Jan 23 09:34:00 GMT 2003


Hi Hagai Yaffe,

> but i need to do the same thing on obj files (not exe) and then i get
> somthing like this : 

Addr2ine is only intended to work on fully linked executables, so it
is not surprising that it does not work with object files.

> when i try to use objdump i get only assambler lines. 

What options were you giving to objdump ?  In particular were you
using the -d and -S options ?  If so, which debugging format are you
using ?

Cheers
        Nick



More information about the Binutils mailing list