- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am having problems in how to use idb to debugg a fortran program that consist of many subroutines.
First of all, I know forsure thatmy intel compiler 7.0 has idb installed.
To start debugging, first I compile and link the program using the following commands:
%% ifort -c -g *.f
%% ifort *.o
Then, I try to run idb to start debugging by entering the following commands:
%%idb a.out
(idb) run
However, what I get at the end is the following:
thread received signal SEGV
stopped at [
Information: An
information on this symbol, recompilation of the program will be necessary. Consult the compiler man pages for details on producing full symbol table information.
I do not understand what the message means? Is this an actual bug in my program? Are the commands that I used to run idb correct? Please let me know what is the correct procedure to run idb, and what options do I use for compiling and linking processes, as I shown above, in order to be able to use idb.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ifort -V
idb -V
I suspect you actually have ifort 9.0 or greater.
Now, on your idb session, are you able to:
(idb) list 1,100
(idb) break
where
(idb) run
Now, do you get to the first statement, or do you get SEGV immediately before reaching the breakpoint?
Once you get to the breakpoint, can you do a 'where' command?
ron

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page