- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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.
링크가 복사됨
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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
