Hi
I am using Red Hat Linux at work. I am trying to debug an application in development enviornment, but unable to see the debug information in GDB.
I have double checked the makefiles, and "-g" flag is being used while compilation.
I even tried other flag -gdwarf & -gstabs but no use.
I set couple of breakpoints on initializing methods which are hit when I run the application, but the program quits silently without hitting the breakpoints.
I am seeing something like below:
[New Thread 46912753450944 (LWP 14004)]
[Switching to Thread 46912753450944 (LWP 14004)]
0x0000000000405488 in main ()
(gdb) where
#0 0x0000000000405488 in main ()
(gdb) bt
#0 0x0000000000405488 in main ()
(gdb) n
Single stepping until exit from function main,
which has no line number information.
0x0000003770c1d8a4 in __libc_start_main () from /lib64/libc.so.6
(gdb) stepi
0x0000003770c1d8a6 in __libc_start_main () from /lib64/libc.so.6
(gdb) stepi
0x0000003770c32c50 in exit () from /lib64/libc.so.6
(gdb) n
Single stepping until exit from function exit,
which has no line number information.
Program exited with code 01.
Any suggestions?
Bookmarks