- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all,
Basically, I followed the tips to conduct things as following steps. However, I got errors showing "No file", "No symbol "MAIN" in current context" and "No source file for address MAIN" ... etc.
(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
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page