This is the mail archive of the binutils@sourceware.org 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: objdump issue on i386


Hi Joel,

That looks like the issue.  I have never used readelf before.
How do I get it to report the information I need to see.

Have a look at PR 10654 again, it demonstrates using readelf there.


Essentially you need to use the -wL switch to readelf to dump the file name/line number to address table and then compare this with the disassembled code to see how the addresses match up. Readelf itself does not have the equivalent of objdump's --source option, so you have to do the checking by hand.

Assuming that you can reproduce the problem using the latest binutils sources, please could you open a bug report at:

http://sourceware.org/bugzilla/

Including a test case will really help us track down the problem.

Cheers
  Nick


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