objdump -S with C++ code

Efraim Yawitz efraim.yawitz@gmail.com
Mon Apr 20 15:52:00 GMT 2009


Hi,

I have used objdump -S successfully to see interleaved C and assembly
code, but it doesn't seem to work very well with C++ code, even though
it was compiled with -g.  I get big clumps of source code for class
methods and the assembly code by itself afterwards.  Am I doing
something wrong, or is this just not supported?

Thank you,

Ephraim Yawitz



More information about the Binutils mailing list