* 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".
This commit is contained in:
parent
86157c2070
commit
f73adfeb8b
10 changed files with 51 additions and 15 deletions
|
@ -122,6 +122,10 @@ struct cmd_list_element *stoplist;
|
|||
|
||||
struct cmd_list_element *deletelist;
|
||||
|
||||
/* Chain containing all defined detach subcommands. */
|
||||
|
||||
struct cmd_list_element *detachlist;
|
||||
|
||||
/* Chain containing all defined "enable breakpoint" subcommands. */
|
||||
|
||||
struct cmd_list_element *enablebreaklist;
|
||||
|
@ -1089,6 +1093,7 @@ init_cmd_lists (void)
|
|||
togglelist = NULL;
|
||||
stoplist = NULL;
|
||||
deletelist = NULL;
|
||||
detachlist = NULL;
|
||||
enablebreaklist = NULL;
|
||||
setlist = NULL;
|
||||
unsetlist = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue