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?


Hi James,

> I'm currently messing around with the BFD, to get it to recognize a
> new file format. I was wondering if it was possible for one one of
> the tools in Binutils to show the source code from an out-file?.

The "objdump" program can do this.  Try using the "-dS" switches.

Cheers
        Nick


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