I am new to gdb. When I debug my program I only get backtraces like below.
Program received signal SIGSEGV, Segmentation fault.
0x000000003075a238 in ?? ()
(gdb) backtrace
#0 0x000000003075a238 in ?? ()
#1 0x00007fff72825da8 in ?? ()
#2 0x0000000000000008 in ?? ()
#3 0x000000003063c340 in ?? ()
#4 0x0000000000000000 in ?? ()
(gdb)
I guess there are some symbol infos missing. I get this message
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found).
so I tried (gdb) symbol-file /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.13.so at startup of gdb it didn't help.
How do I know which symbol info is missing? The code of the whole project is compiled with gcc -g.