- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
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?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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

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