]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
infrun: export clear_proceed_status_thread
authorMarkus Metzger <markus.t.metzger@intel.com>
Mon, 13 Jun 2016 11:27:55 +0000 (13:27 +0200)
committerMarkus Metzger <markus.t.metzger@intel.com>
Wed, 6 Jul 2016 06:31:21 +0000 (08:31 +0200)
Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
gdb/
* infrun.h (clear_proceed_status_thread): New.
* infrun.c (clear_proceed_status_thread): Export.

Change-Id: I23e762997359b9769856450e89626707bad1365e

gdb/infrun.c
gdb/infrun.h

index 70a0790b9ac6c52340d41da5da55e06ac9124366..5bbb6497ba559149f9a1b804eb2e81052081dc84 100644 (file)
@@ -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)
index 39be375fbe90e7a8bd4702150ec0bb6cedf1550d..e896238be445a3c47c08c43952f961459b0a925d 100644 (file)
@@ -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.