[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Intermixing source code with disassembly
- Date: Sun, 06 Apr 2008 08:01:12 +1000
- From: chrisj at rtems.org (Chris Johns)
- Subject: Intermixing source code with disassembly
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