diff options
Diffstat (limited to 'gdb/continuations.h')
-rw-r--r-- | gdb/continuations.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/gdb/continuations.h b/gdb/continuations.h deleted file mode 100644 index 0ad5fc6..0000000 --- a/gdb/continuations.h +++ /dev/null @@ -1,39 +0,0 @@ -/* Continuations for GDB, the GNU debugger. - - Copyright (C) 1999-2021 Free Software Foundation, Inc. - - This file is part of GDB. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ - -#ifndef CONTINUATIONS_H -#define CONTINUATIONS_H - -#include <functional> - -struct inferior; - -/* To continue the execution commands when running gdb asynchronously. - A continuation is an std::function to be called to finish the - command, once the target has stopped. Such mechanism is used by - the attach command and the remote target when a new inferior is - detected. */ - -/* Inferior specific (any thread) continuations. */ - -extern void add_inferior_continuation (std::function<void ()> &&cont); -extern void do_all_inferior_continuations (); -extern void discard_all_inferior_continuations (struct inferior *inf); - -#endif |