Gcc: Difference between flags -g vs -ggdb

The gcc/g++ compiler has two flags to keep debugging information, these flags are -g and -ggdb, so is there any difference between them ?


Source: gcc

Leave a Reply