aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-02-19 21:36:54 +0000
committerPedro Alves <palves@redhat.com>2008-02-19 21:36:54 +0000
commitfd96d2509cf0467d293f63f3c83dee43a62099ba (patch)
tree275d09b6857e1b9e5e5796dec988679afbecbcf1 /gdb/doc
parentd9bf65d51a514fca5b56b75b0e4b7d0364c78207 (diff)
downloadgdb-fd96d2509cf0467d293f63f3c83dee43a62099ba.zip
gdb-fd96d2509cf0467d293f63f3c83dee43a62099ba.tar.gz
gdb-fd96d2509cf0467d293f63f3c83dee43a62099ba.tar.bz2
doc/
* gdb.texinfo (vAttach, vRun): Remove requirement of the stub killing the inferior when it is already debugging a process. gdbserver/ * server.c (handle_v_requests): When handling the vRun and vAttach packets, if already debugging a process, don't kill it. Return an error instead.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo6
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 9f2dcf9..347b78a 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2008-02-19 Pedro Alves <pedro@codesourcery.com>
+
+ * gdb.texinfo (vAttach, vRun): Remove requirement of the stub
+ killing the inferior when it is already debugging a process.
+
2008-02-13 Markus Deuling <deuling@de.ibm.com>
* gdbint.texinfo (Build Script): New section. Mention new build script
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 8754350..9061fa2 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -23706,8 +23706,8 @@ up to the first @samp{;} or @samp{?} (or the end of the packet).
@item vAttach;@var{pid}
@cindex @samp{vAttach} packet
Attach to a new process with the specified process ID. @var{pid} is a
-hexadecimal integer identifying the process. If the stub is currently
-controlling a process, it is killed. The attached process is stopped.
+hexadecimal integer identifying the process. The attached process is
+stopped.
This packet is only available in extended mode (@pxref{extended mode}).
@@ -23821,7 +23821,7 @@ Run the program @var{filename}, passing it each @var{argument} on its
command line. The file and arguments are hex-encoded strings. If
@var{filename} is an empty string, the stub may use a default program
(e.g.@: the last program run). The program is created in the stopped
-state. If the stub is currently controlling a process, it is killed.
+state.
This packet is only available in extended mode (@pxref{extended mode}).