From 037ca1addd7af2a9ba9c0fecbeb2c2af6be7c841 Mon Sep 17 00:00:00 2001 From: Markus Metzger Date: Mon, 13 Jun 2016 13:27:55 +0200 Subject: [PATCH] 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 --- 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 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. -- 2.47.2