I am trying to add a breakpoint in my program using
b {line number}
but I am always getting an error that says:
No symbol t
You need to use -g or -ggdb option at compile time of your program.
E.g., gcc -ggdb file_name.c ; gdb ./a.out
gcc -ggdb file_name.c ; gdb ./a.out