aboutsummaryrefslogtreecommitdiff
path: root/gdb/inferior.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-05-20 16:31:31 +0000
committerPedro Alves <palves@redhat.com>2011-05-20 16:31:31 +0000
commit09cee04be9e51b992fd835e7fa671d3b65448a6b (patch)
treefe2d3c07280753606639cd25a9d182906b5ff68f /gdb/inferior.h
parent751b8ce122ef06e9bd673542e7876f44dcd0165c (diff)
downloadgdb-09cee04be9e51b992fd835e7fa671d3b65448a6b.zip
gdb-09cee04be9e51b992fd835e7fa671d3b65448a6b.tar.gz
gdb-09cee04be9e51b992fd835e7fa671d3b65448a6b.tar.bz2
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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 15e3ca2..57a96cf 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,