diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-07-12 17:10:59 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-07-12 17:10:59 +0000 |
commit | 77ebaa5ad37ca5888bf33444e85dd8140ffed695 (patch) | |
tree | ec53a5079de2dc4f43be7076d0333c6818dfbf87 /gdb/inferior.h | |
parent | 1e92afda99a58f4427293937e49ef1ebe6bb3968 (diff) | |
download | gdb-77ebaa5ad37ca5888bf33444e85dd8140ffed695.zip gdb-77ebaa5ad37ca5888bf33444e85dd8140ffed695.tar.gz gdb-77ebaa5ad37ca5888bf33444e85dd8140ffed695.tar.bz2 |
Implement -exec-continue/-exec-interrupt --all.
* infcmd.c (continue_1): New, extracted from
(continue_command): ...here.
(interrupt_target_1): New, extracted from
(interrupt_target_command): ...here.
* inferior.h (continue_1, interrupt_target_1): New.
* mi/mi-main.c (mi_cmd_exec_continue)
(mi_cmd_exec_interrupt): Handle --all.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r-- | gdb/inferior.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h index 60d0352..f53af8b 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -271,10 +271,14 @@ extern void nexti_command (char *, int); extern void stepi_command (char *, int); +extern void continue_1 (int all_threads); + extern void continue_command (char *, int); extern void interrupt_target_command (char *args, int from_tty); +extern void interrupt_target_1 (int all_threads); + /* Last signal that the inferior received (why it stopped). */ extern enum target_signal stop_signal; |