This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
RE: Using Binutils to view source code?
- From: James Sampson <i_am_triumph at ofir dot dk>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: BINUTILS Archive <binutils at sources dot redhat dot com>
- Date: Mon, 27 Jan 2003 08:17:08 +0100
- Subject: RE: Using Binutils to view source code?
>Actually the 'S' part of '-dS' will make objdump try to show the
>source code interleaved with the disassembly. The problem is that it
>does not, currently, support all debug formats.
>
>If you find that it does not work for your binaries, try changing
>debug format. (eg compiling with -gstabs). This may work.
Thanks :-)
I noticed that the source file needed to be in the same dir for it to use it.
Best Regards
James