Mixed src/assembly listing

bridged with qnx.development_tools
Post Reply
Ken Schumm

Mixed src/assembly listing

Post by Ken Schumm » Tue Mar 07, 2006 3:23 pm

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.

Colin Burgess

Re: Mixed src/assembly listing

Post by Colin Burgess » Tue Mar 07, 2006 3:33 pm

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

Re: Mixed src/assembly listing

Post by Ken Schumm » Tue Mar 07, 2006 3:50 pm

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.

Chris Herborth

Re: Mixed src/assembly listing

Post by Chris Herborth » Wed Mar 08, 2006 8:25 pm

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

Post Reply

Return to “qnx.development_tools”