aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-05-27 18:28:18 +0000
committerPedro Alves <palves@redhat.com>2011-05-27 18:28:18 +0000
commitbe34f8494e0befe68d8071f46edc16d9aa3c9238 (patch)
treeaa68cb7e70b6c065ecea402bfbb3b1b930ba7ee1 /gdb/defs.h
parent440db5755211bd29af95c374882c109ede000b54 (diff)
downloadgdb-be34f8494e0befe68d8071f46edc16d9aa3c9238.zip
gdb-be34f8494e0befe68d8071f46edc16d9aa3c9238.tar.gz
gdb-be34f8494e0befe68d8071f46edc16d9aa3c9238.tar.bz2
2011-05-27 Pedro Alves <pedro@codesourcery.com>
* defs.h (struct continuation, continuation_ftype) (continuation_free_arg_ftype, add_continuation) (do_all_continuations, do_all_continuations_thread) (discard_all_continuations, discard_all_continuations_thread) (add_intermediate_continuation, do_all_intermediate_continuations) (do_all_intermediate_continuations_thread) (discard_all_intermediate_continuations) (discard_all_intermediate_continuations_thread) (add_inferior_continuation, do_all_inferior_continuations) (discard_all_inferior_continuations): Move to ... * continuations.h: ... this new file. * breakpoint.c, continuations.c, event-top.c, inf-loop.c, infcmd.c, inferior.c, infrun.c, interps.c: Include continuations.h.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 7deee69..1795297 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -730,52 +730,9 @@ extern struct command_line *read_command_lines_1 (char * (*) (void), int,
extern void free_command_lines (struct command_line **);
-/* To continue the execution commands when running gdb asynchronously.
- A continuation structure contains a pointer to a function to be called
- to finish the command, once the target has stopped. Such mechanism is
- used by the finish and until commands, and in the remote protocol
- when opening an extended-remote connection. */
-
-struct continuation;
struct thread_info;
struct inferior;
-/* From continuations.c */
-
-/* Prototype of the continuation callback functions. */
-typedef void (continuation_ftype) (void *);
-
-/* Prototype of the function responsible for releasing the argument
- passed to the continuation callback functions, either when the
- continuation is called, or discarded. */
-typedef void (continuation_free_arg_ftype) (void *);
-
-/* Thread specific continuations. */
-
-extern void add_continuation (struct thread_info *,
- continuation_ftype *, void *,
- continuation_free_arg_ftype *);
-extern void do_all_continuations (void);
-extern void do_all_continuations_thread (struct thread_info *);
-extern void discard_all_continuations (void);
-extern void discard_all_continuations_thread (struct thread_info *);
-
-extern void add_intermediate_continuation (struct thread_info *,
- continuation_ftype *, void *,
- continuation_free_arg_ftype *);
-extern void do_all_intermediate_continuations (void);
-extern void do_all_intermediate_continuations_thread (struct thread_info *);
-extern void discard_all_intermediate_continuations (void);
-extern void discard_all_intermediate_continuations_thread (struct thread_info *);
-
-/* Inferior specific (any thread) continuations. */
-
-extern void add_inferior_continuation (continuation_ftype *,
- void *,
- continuation_free_arg_ftype *);
-extern void do_all_inferior_continuations (void);
-extern void discard_all_inferior_continuations (struct inferior *inf);
-
/* String containing the current directory (what getwd would return). */
extern char *current_directory;