aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target.c b/gdb/target.c
index af430bd..6e71080 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -1787,8 +1787,8 @@ target_resume (ptid_t ptid, int step, enum target_signal signal)
{
dcache_invalidate (target_dcache);
(*current_target.to_resume) (ptid, step, signal);
+ set_executing (ptid, 1);
set_running (ptid, 1);
-
}
/* Look through the list of possible targets for a target that can
follow forks. */