Gdbserver
gdbserver is a computer program that makes it possible to remotely debug other programs. Running on the same system as the program to be debugged, it allows the GNU Debugger to connect from another system; that is, only the executable to be debugged needs to be resident on the target system ("target"), while the source code and a copy of the binary file to be debugged reside on the developer's local computer ("host"). The connection can be either TCP or a serial line.
gdbserver is a computer program that makes it possible to remotely debug other programs. Running on the same system as the program to be debugged, it allows the GNU Debugger to connect from another system; that is, only the executable to be debugged needs to be resident on the target system ("target"), while the source code and a copy of the binary file to be debugged reside on the developer's local computer ("host"). The connection can be either TCP or a serial line. remote@~$ gdbserver :2159 hello_world Process hello_world created; pid = 2509 Listening on port 2159 local@~$ gdb -q hello_world Reading symbols from /home/user/hello_world...done. (gdb) target remote 192.168.0.11:2159 Remote debugging using 192.168.0.11:2159 0x002f3850 in ?? () from /lib/ld-linux.so.2 (gdb) continue Continuing. Program received signal SIGSEGV, Segmentation fault. 0x08048414 in main () at hello_world.c:10 10 printf("x[%d] = %g\n", i, x[i]); (gdb)
References
No reference rows published for this article.
Cite this article
MLA
"Gdbserver." encyclopegia.org, 2026, https://encyclopegia.org/wiki/gdbserver. Accessed 24 November 2026.
Chicago
"Gdbserver." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/gdbserver.
APA
encyclopegia.org. (2026). Gdbserver. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/gdbserver
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON