aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2006-10-27 22:23:21 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2006-10-27 22:23:21 +0000
commitf73adfeb8bae36885e6ea248d12223ab0d5eb9cb (patch)
tree6c7e46077a639c83fbfef0d0dff8f1ecebaca3e7 /gdb/doc
parent86157c207017c3d7df49efad2328697b278f50c2 (diff)
downloadfsf-binutils-gdb-f73adfeb8bae36885e6ea248d12223ab0d5eb9cb.zip
fsf-binutils-gdb-f73adfeb8bae36885e6ea248d12223ab0d5eb9cb.tar.gz
fsf-binutils-gdb-f73adfeb8bae36885e6ea248d12223ab0d5eb9cb.tar.bz2
* gdbcmd.h (detachlist): Declare.
* infcmd.c (_initialize_infcmd): Define "detach" as prefix command. * linux-fork.c (_initialize_linux_fork): Rename "detach-checkpoint" to "detach checkpoint" and "detach-fork" to "detach fork". * cli/cli-cmds.c (detachlist): Define. (init_cmd_lists): Initialize it. * cli/cli-cmds.h (detachlist): Declare. doc/: * gdb.texinfo (Processes): Rename "detach-fork" to "detach fork". testsuite/: * gdb.base/multi-forks.exp: Use "detach fork" instead of "detach-fork".
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdb.texinfo6
2 files changed, 7 insertions, 3 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 6594a465..9eca8fd 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2006-10-27 Andreas Schwab <schwab@suse.de>
+
+ * gdb.texinfo (Processes): Rename "detach-fork" to "detach fork".
+
2006-10-21 Eli Zaretskii <eliz@gnu.org>
* gdb.texinfo (Breakpoints, Set Watchpoints): Elaborate and
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 1275cbc..e14a3ea 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -2574,13 +2574,13 @@ as shown in the first field of the @samp{info forks} display.
@end table
To quit debugging one of the forked processes, you can either detach
-from it by using the @w{@code{detach-fork}} command (allowing it to
+from it by using the @w{@code{detach fork}} command (allowing it to
run independently), or delete (and kill) it using the
@w{@code{delete fork}} command.
@table @code
-@kindex detach-fork @var{fork-id}
-@item detach-fork @var{fork-id}
+@kindex detach fork @var{fork-id}
+@item detach fork @var{fork-id}
Detach from the process identified by @value{GDBN} fork number
@var{fork-id}, and remove it from the fork list. The process will be
allowed to run independently.