Based on the messages:
(no debugging symbols found)
No symbol table is loaded. Use the "file" command.
Make breakpoint pending on future shared library load? (y or [n])
it looks as though your binary has been compiled without debugging symbols, so breaking at server.c:256
isn't going to work (since there's nothing to indicate to gdb where line 256 is!). Recompile with -ggdb
and try again with run
.