diff options
author | Pedro Alves <palves@redhat.com> | 2008-11-05 20:23:07 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2008-11-05 20:23:07 +0000 |
commit | e0ba674611b77dce4d02d6b08e90b10255ec3e2d (patch) | |
tree | 2e6dd7afb17800c925cd5c543347e28b03416cf0 /gdb/inferior.c | |
parent | 6dc6b6558bf7ede38de5f7b9356d8d98e5960c33 (diff) | |
download | gdb-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.c')
-rw-r--r-- | gdb/inferior.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/inferior.c b/gdb/inferior.c index 4233a51..9fec4cc 100644 --- a/gdb/inferior.c +++ b/gdb/inferior.c @@ -45,6 +45,7 @@ current_inferior (void) static void free_inferior (struct inferior *inf) { + discard_all_inferior_continuations (inf); xfree (inf->private); xfree (inf); } |