2002-02-15 Daniel Jacobowitz <drow@mvista.com>
authorDaniel Jacobowitz <drow@false.org>
Fri, 15 Feb 2002 19:08:05 +0000 (19:08 +0000)
committerDaniel Jacobowitz <drow@false.org>
Fri, 15 Feb 2002 19:08:05 +0000 (19:08 +0000)
        * gdbserver/gdbserver.1: Document --attach.

gdb/ChangeLog
gdb/gdbserver/gdbserver.1

index b1eb77eb949a03423ad9679952abffd80c0ff1da..00729847d00cb0e539ed9e215cbe241dc16b34da 100644 (file)
@@ -1,3 +1,7 @@
+2002-02-15  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdbserver/gdbserver.1: Document --attach.
+
 2002-02-15  Richard Earnshaw  <rearnsha@arm.com>
 
        * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint
index 24e78ea1f0492920e72ab6c76aaff7011cfbccf7..846634b7ca5ef7c12d2ff2ca09a88103395bd575 100644 (file)
@@ -10,6 +10,11 @@ gdbserver \- Remote Server for the GNU Debugger
 .RB tty
 .RB prog
 .RB "[\|" args... "\|]"
+.PP
+.B gdbserver
+.RB tty
+.B --attach
+.RB PID
 .ad b
 .SH DESCRIPTION
 GDBSERVER is a program that allows you to run GDB on a different machine
@@ -50,6 +55,14 @@ GDBs `target remote' command, which will be described shortly.  Note that if
 you chose a port number that conflicts with another service, gdbserver will
 print an error message and exit.
 
+On some targets, gdbserver can also attach to running programs.
+This is accomplished via the --attach argument.  The syntax is:
+
+       target> gdbserver COMM --attach PID
+
+PID is the process ID of a currently running process.  It isn't
+necessary to point gdbserver at a binary for the running process.
+
 Usage (host side):
 
 You need an unstripped copy of the target program on your host system, since
This page took 0.027277 seconds and 4 git commands to generate.