ddd cannot find the source code
Kuo-Hsien Chang <[email protected]> Sun, 9 Sep 2012 16:20:09 -0400
| Newsgroups | gmane.comp.gnu.utils |
|---|---|
| Message-ID | <[email protected]> |
Dear all, Here is my procedure to use ddd with idb.=20 (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] ------------------=20 object file name: /Users/changks/IBIS/ibis_ted/EDG/ibis=20 Reading symbols from /Users/changks/IBIS/ibis_ted/EDG/ibis...done. (idb) No file. (idb)=20 No symbol "MAIN" in current context. No source file for address MAIN. (idb)=20 No symbol "MAIN_" in current context. No source file for address MAIN_. (idb)=20 No symbol "MAIN__" in current context. No source file for address MAIN__. (idb)=20 No symbol "_MAIN" in current context. No source file for address _MAIN. (idb)=20 No symbol "__MAIN" in current context. No source file for address __MAIN. (idb)=20 No symbol "the_main" in current context. No source file for address the_main. (idb)=20 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.=20 What is the solution? Thanks for helping me on this. Cheers, Michael=