This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 3/8] infrun: export clear_proceed_status_thread
- From: Markus Metzger <markus dot t dot metzger at intel dot com>
- To: gdb-patches at sourceware dot org
- Cc: palves at redhat dot com, marc dot khouzam at ericsson dot com
- Date: Wed, 6 Jul 2016 13:56:26 +0200
- Subject: [PATCH 3/8] infrun: export clear_proceed_status_thread
- Authentication-results: sourceware.org; auth=none
- References: <1467806191-4320-1-git-send-email-markus.t.metzger@intel.com>
2016-07-06 Markus Metzger <markus.t.metzger@intel.com>
gdb/
* infrun.h (clear_proceed_status_thread): New.
* infrun.c (clear_proceed_status_thread): Export.
---
gdb/infrun.c | 5 ++---
gdb/infrun.h | 3 +++
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 70a0790..5bbb649 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -2785,10 +2785,9 @@ new_stop_id (void)
current_stop_id++;
}
-/* Clear out all variables saying what to do when inferior is continued.
- First do this, then set the ones you want, then call `proceed'. */
+/* See infrun.h. */
-static void
+void
clear_proceed_status_thread (struct thread_info *tp)
{
if (debug_infrun)
diff --git a/gdb/infrun.h b/gdb/infrun.h
index 39be375..e896238 100644
--- a/gdb/infrun.h
+++ b/gdb/infrun.h
@@ -80,6 +80,9 @@ extern void start_remote (int from_tty);
step/stepi command. */
extern void clear_proceed_status (int step);
+/* Clear out the proceed status of TP. */
+extern void clear_proceed_status_thread (struct thread_info *tp);
+
extern void proceed (CORE_ADDR, enum gdb_signal);
/* The `resume' routine should only be called in special circumstances.
--
1.8.3.1