idb problem (转载)# Unix - 噫吁兮,危乎高哉
M*n
1 楼
【 以下文字转载自 Computation 讨论区 】
发信人: ManshengChen (像琼瑶一样老去), 信区: Computation
标 题: idb problem
发信站: BBS 未名空间站 (Tue Mar 16 12:47:25 2010, 美东)
I used "ifort -c -g -O0 -i8" to compile a fortran program.
But when I used idb to print out some variables, it gave totally wrong
answers.
Here is some output from "idb a.out"
70253 itt = 1111111
(idb) n
70254 print*,nexcg,itt
(idb) n
1 1111111
As you can see, the program outputs 1 and 1111111
发信人: ManshengChen (像琼瑶一样老去), 信区: Computation
标 题: idb problem
发信站: BBS 未名空间站 (Tue Mar 16 12:47:25 2010, 美东)
I used "ifort -c -g -O0 -i8" to compile a fortran program.
But when I used idb to print out some variables, it gave totally wrong
answers.
Here is some output from "idb a.out"
70253 itt = 1111111
(idb) n
70254 print*,nexcg,itt
(idb) n
1 1111111
As you can see, the program outputs 1 and 1111111