I\'m trying to use GDB and KDEvelop to debug a console app under Knoppix VM. KDevelop and GDB don\'t break at my breakpoints. I suspect it\'s because they don\'t have debug symb
Include -g in the flags sent to the compiler and linker. The default variables for this are CFLAGS and LDFLAGS respectively.
-g
CFLAGS
LDFLAGS
The second step: exclude -s from flags (-s means strip)
-s