I keep getting this error mesage when trying to add a breakpoint in gdb.
I\'ve used these commands to compile:
gcc -g main.c utmpib2.c -o main.o and:
I have the same problem and I followed this Post, it solved my problem.
Follow the following 2 steps:
-O0
-ggdb
Good luck!