aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbcmd.h
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/gdbcmd.h
parent86157c207017c3d7df49efad2328697b278f50c2 (diff)
downloadgdb-f73adfeb8bae36885e6ea248d12223ab0d5eb9cb.zip
gdb-f73adfeb8bae36885e6ea248d12223ab0d5eb9cb.tar.gz
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/gdbcmd.h')
-rw-r--r--gdb/gdbcmd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdbcmd.h b/gdb/gdbcmd.h
index a87b544..29de2d1 100644
--- a/gdb/gdbcmd.h
+++ b/gdb/gdbcmd.h
@@ -50,6 +50,10 @@ extern struct cmd_list_element *disablelist;
extern struct cmd_list_element *deletelist;
+/* Chain containing all defined detach subcommands. */
+
+extern struct cmd_list_element *detachlist;
+
/* Chain containing all defined toggle subcommands. */
extern struct cmd_list_element *togglelist;