Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

idb debugging problems!

milenko1976
Beginner
673 Views
Well the thing is my program is compiled,but I get all 0 in results file.I am trying to debugg with idb but...
For exemple View-Source files gives 4 source files:
crti.S mt3 /build/buildd/glibc-2.9/build-tree/amd64-libc/csu
crtn.S mt3 /build/buildd/glibc-2.9/build-tree/amd64-libc/csu
init.c mt3 /build/buildd/glibc-2.9/csu
start.S mt3 /build/buildd/glibc-2.9/sysdeps/x86_64/elf
How to tell debugger to see my program?

0 Kudos
1 Reply
Rob_Mueller-Albrecht
673 Views
Dear customer,

the source file view only showing C library files indicates that you most likely do not have symbol info in your program build.

the ELF Dwarf2 symbol info of your application will automatically contain the source file path as well as the line info needed for stepping and such.

Did you use the option -g or -gdwarf2 with your compile step? If you invoke the linker separately, did you use -debug when calling it?

If this is not the root cause of your problem I may need to have a glimpse at your makefile settings to perhaps understand better what is going on.

It may also be helpfrul for me to know whether you load n dstart the program from within the debugger or whether yo attache to an already running process.

Thanks, Rob
0 Kudos
Reply