Intermixing source code with disassembly

Teng Chee Wan Philip tcheewan at ntu.edu.sg
Fri Apr 11 02:14:55 UTC 2008


Thanks, Chris. :)

I got it working now, after changing the code to unix line termination.

-----Original Message-----
From: Chris Johns [mailto:chrisj at rtems.org] 
Sent: Thursday, April 10, 2008 8:27 PM
To: Teng Chee Wan Philip
Cc: Thomas Doerfler; rtems-users at rtems.com
Subject: Re: Intermixing source code with disassembly

Teng Chee Wan Philip wrote:
> 
> Initially, I thought that will be a problem.  But when I tried with
the
> ticker application, the slash remains mixed but the source was
> intermixed....Unless size of the application is an issue.
> 

I have isolated the source of the problem and a work around but no fix.
I am 
heading away for a couple of weeks so cannot look into the actual cause.

The ticker code has Unix line termination and your code does not. If you

dos2unix your code you will see the source. The issue seems isolated to
objdump.

By dos2unix I mean:

   dos2unix source.c

Regards
Chris



More information about the users mailing list