aboutsummaryrefslogtreecommitdiff
path: root/gdb/inferior.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-11-05 20:23:07 +0000
committerPedro Alves <palves@redhat.com>2008-11-05 20:23:07 +0000
commite0ba674611b77dce4d02d6b08e90b10255ec3e2d (patch)
tree2e6dd7afb17800c925cd5c543347e28b03416cf0 /gdb/inferior.h
parent6dc6b6558bf7ede38de5f7b9356d8d98e5960c33 (diff)
downloadgdb-e0ba674611b77dce4d02d6b08e90b10255ec3e2d.zip
gdb-e0ba674611b77dce4d02d6b08e90b10255ec3e2d.tar.gz
gdb-e0ba674611b77dce4d02d6b08e90b10255ec3e2d.tar.bz2
* defs.h (add_inferior_continuation)
(do_all_inferior_continuations) (discard_all_inferior_continuations): Declare. * utils.c (add_inferior_continuation) (do_all_inferior_continuations) (discard_all_inferior_continuations): New. * inferior.h (struct inferior) <continuations>: New field. * inferior.c (free_inferior): Discard all the inferior continuations. * inf-loop.c (inferior_event_handler): Do all current inferior continuations. * infcmd.c (attach_command): Register an inferior continuation instead of a thread continuation. * infrun.c (handle_inferior_event): If stop_soon is STOP_QUIETLY_NO_SIGSTOP, also expect a TARGET_SIGNAL_0.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r--gdb/inferior.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index cc5bf9f..029dc31 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -424,6 +424,11 @@ struct inferior
forked. */
int attach_flag;
+ /* What is left to do for an execution command after any thread of
+ this inferior stops. For continuations associated with a
+ specific thread, see `struct thread_info'. */
+ struct continuation *continuations;
+
/* Private data used by the target vector implementation. */
struct private_inferior *private;
};