I run this command in my terminal,
gcc -g -I/usr/include -g sample_client.c lsp.o lspmessage.pb-c.o -o sample_client -L/usr/lib -lprotobuf-c
in my file directory, I can see a sample_client file. Its property is executable. However, when I run
(gdb) sample_client
I got this,
Undefined command: "sample_client".
How can I debug?