From: Markus Metzger Date: Mon, 13 Jun 2016 11:27:55 +0000 (+0200) Subject: infrun: export clear_proceed_status_thread X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=037ca1addd7af2a9ba9c0fecbeb2c2af6be7c841;p=thirdparty%2Fbinutils-gdb.git infrun: export clear_proceed_status_thread Signed-off-by: Markus Metzger gdb/ * infrun.h (clear_proceed_status_thread): New. * infrun.c (clear_proceed_status_thread): Export. Change-Id: I23e762997359b9769856450e89626707bad1365e --- diff --git a/gdb/infrun.c b/gdb/infrun.c index 70a0790b9ac..5bbb6497ba5 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 39be375fbe9..e896238be44 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.