mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
* 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:
@@ -2123,10 +2123,11 @@ directory, or (if not found there) using the source file search path\n\
|
||||
(see the \"directory\" command). You can also use the \"file\" command\n\
|
||||
to specify the program, and to load its symbol table."));
|
||||
|
||||
add_com ("detach", class_run, detach_command, _("\
|
||||
add_prefix_cmd ("detach", class_run, detach_command, _("\
|
||||
Detach a process or file previously attached.\n\
|
||||
If a process, it is no longer traced, and it continues its execution. If\n\
|
||||
you were debugging a file, the file is closed and gdb no longer accesses it."));
|
||||
you were debugging a file, the file is closed and gdb no longer accesses it."),
|
||||
&detachlist, "detach ", 0, &cmdlist);
|
||||
|
||||
add_com ("disconnect", class_run, disconnect_command, _("\
|
||||
Disconnect from a target.\n\
|
||||
|
||||
Reference in New Issue
Block a user