[PATCH 3/8] infrun: export clear_proceed_status_thread

Markus Metzger markus.t.metzger@intel.com
Wed Jul 6 11:57:00 GMT 2016


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



More information about the Gdb-patches mailing list