I am debugging a process with multiple threads in GDB. I compiled the sole source file with the -g
flag. However, while running in GDB, the following scenario occurs:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7fe2b70 (LWP 2604)]
0x00000011 in ?? ()
Prior to the switch, the particular thread executes a sleep(5);
Why can't GDB identify the point from which the code "segfaulted"?