Gdbserver: Difference between revisions

Content deleted Content added
No edit summary
SmackBot (talk | contribs)
m Date maintenance tags and general fixes: build 423:
Line 2:
{{compu-prog-stub|date=February 2010}}
 
'''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{{whatClarify|date=June 2010}} needs to be resident on the target system, while the source code{{whatClarify|date=June 2010}} and a copy of the binary file{{whatClarify|date=June 2010}} reside on the developer’s local computer.
 
== How It Works ==
Line 10:
#:It then listens for connections on the port.
# <code>gdb</code> is run on the host, with the arguments:
#* The path and filename of the executable{{whatClarify|date=June 2010}} (and any sources{{whatClarify|date=June 2010}}) on the host, and
#* The IP address and port number needed for connection to the target system.
 
Line 45:
 
== Notes ==
{{reflistReflist}}
 
== References ==