help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ddd cannot find the source code


From: Kuo-Hsien Chang
Subject: ddd cannot find the source code
Date: Sun, 9 Sep 2012 16:20:09 -0400

Dear all,

Here is my procedure to use ddd with idb. 
(1) compile the code using these ifort options: -extend-source 132 -O0 -g 
-save-temps -fpic -Wl,-no_pie
(2) run the DDD with idb: ddd --ladebug --debugger idb  my_program

I got the messages from DDD:
The DDD GUI window showed the following messages:
GNU DDD 3.3.12 (i386-apple-darwin12.1.0), by Dorothea LIntel(R) Debugger for 
applications running on Intel(R) 64, Version 12.1, Build [76.205.11]
------------------ 
object file name: /Users/changks/IBIS/ibis_ted/EDG/ibis 
Reading symbols from /Users/changks/IBIS/ibis_ted/EDG/ibis...done.
(idb) No file.
(idb) 
No symbol "MAIN" in current context.
No source file for address MAIN.
(idb) 
No symbol "MAIN_" in current context.
No source file for address MAIN_.
(idb) 
No symbol "MAIN__" in current context.
No source file for address MAIN__.
(idb) 
No symbol "_MAIN" in current context.
No source file for address _MAIN.
(idb) 
No symbol "__MAIN" in current context.
No source file for address __MAIN.
(idb) 
No symbol "the_main" in current context.
No source file for address the_main.
(idb) 
No symbol "main_vxworks" in current context.
No source file for address main_vxworks.
(idb)


I was wondering if my_program did not carry on the path of the source code. 

What is the solution? Thanks for helping me on this.

Cheers,
Michael


reply via email to

[Prev in Thread] Current Thread [Next in Thread]