Mixed src/assembly listing

Is there a way to generate a mixed C source/assembly listing for compiled
source files? The -s option to qcc generates an assembly listing but it
doesn’t show the C source.

If you have debug info present then ntoarm-objdump -S object.o will show interlaced source/assembly

Cheers,

Colin

Ken Schumm wrote:

Is there a way to generate a mixed C source/assembly listing for compiled
source files? The -s option to qcc generates an assembly listing but it
doesn’t show the C source.

Great info. Thanks for the speedy reply Colin!

“Colin Burgess” <cburgess@qnx.com> wrote in message
news:duk8fl$t1h$1@inn.qnx.com

If you have debug info present then ntoarm-objdump -S object.o will show
interlaced source/assembly

Cheers,

Colin

Ken Schumm wrote:
Is there a way to generate a mixed C source/assembly listing for
compiled
source files? The -s option to qcc generates an assembly listing but it
doesn’t show the C source.

Ken Schumm wrote:

Great info. Thanks for the speedy reply Colin!

I’ll make sure this gets into the Utilities Reference for objdump, too.


Chris Herborth (cherborth@qnx.com) - Senior Zombiologist and Tech Writer
Never send a monster to do the work of an evil scientist.
Monthly QNX newsletter - http://www.qnx.com/news/forms/newsletter.html