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 tell gdb the name of your executable file, either when you run gdb or using the file command:
$ gdb a.out
or
(gdb) file a.out