No debug symbols found in gdb debugger

When I run my complex .c software simulator, which includes a lot of c files in gdb, it gives an error if no debugging symbols are found. I am using gcc -g simulator.c to compile this program. Can any body tell me why this error occurs.

+3
source share
1 answer

You will probably need to compile each .c file with -g in order to have a full set of debugging symbols.

+3
source

Source: https://habr.com/ru/post/1782543/


All Articles