diff options
author | Pedro Alves <pedro@codesourcery.com> | 2011-05-20 16:31:26 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2011-05-20 16:31:26 +0000 |
commit | b498d9101ce7f0d6027020040618fcd5c8520733 (patch) | |
tree | a7ec57657c180ebef03431cf62fe438e6650f40d /gdb/inferior.h | |
parent | cdb12ef56cfa1953a57988be596c4d720badf85a (diff) | |
download | gdb-b498d9101ce7f0d6027020040618fcd5c8520733.tar.gz |
2011-05-20 Pedro Alves <pedro@codesourcery.com>
gdb/
* infcmd.c: Include "inf-loop.h".
(step_once): When stepping into an inline subroutine, pretend the
target has run. If the target can async, switch the inferior
event loop to INF_EXEC_COMPLETE.
* inferior.h (user_visible_resume_ptid): Declare.
* infrun.c (user_visible_resume_ptid): New function, factored out
from `resume'.
(resume): Use it.
* mi/mi-main.c (mi_execute_async_cli_command): Remove assertion
that the current thread is running. Merge async and sync
branches.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r-- | gdb/inferior.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h index 15e3ca2264e..57a96cf9eae 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -188,6 +188,8 @@ extern void reopen_exec_file (void); extern void resume (int, enum target_signal); +extern ptid_t user_visible_resume_ptid (int step); + /* From misc files */ extern void default_print_registers_info (struct gdbarch *gdbarch, |