Content deleted Content added
m →Alternatives: more authoritative reference |
m clean up, typo(s) fixed: ’s → 's |
||
Line 1:
{{lowercase|title=gdbserver}}
'''gdbserver''' is a computer program that makes it possible to remotely [[Debugging|debug]] other programs.<ref>[http://ftp.gnu.org/old-gnu/Manuals/gdb-5.1.1/html_node/gdb_130.html GDB Manual]</ref> 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
== How it works ==
Line 11:
#* A device name (for a serial line) or the IP address and port number needed for connection to the target system.
Example for debugging a program called <code>hello_world</code> on a remote target using TCP ("2159" is the [[
<syntaxhighlight lang="console">
remote@~$ gdbserver :2159 hello_world
|