This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
						


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]