Intermixing source code with disassembly

Chris Johns chrisj at rtems.org
Sat Apr 5 22:01:12 UTC 2008


Teng Chee Wan Philip wrote:
> 
> I was trying to disassemble my executable and intermix source code with 
> the disassembly, but objdump did not managed to find the source code.  
> Does anyone have any suggestions why this could be so?  Are there any 
> limitations on objdump or specific way that objdump uses to search for 
> the source code?
> 
> $ sparc-rtems4.8-objdump -d -S app.exe
> 

You might want to check the Debugging Hints page in the Wiki:

http://www.rtems.org/wiki/index.php/DebuggingHints#Symbolic_Debug_Information
http://www.rtems.org/wiki/index.php/DebuggingHints#GDB_Cannot_Find_My_Source_Files

Let us know if this does not help.

Regards
Chris




More information about the users mailing list