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, 2 insertions, 0 deletions
diff --git a/gdb/target.c b/gdb/target.c
index e88d60c..ac66a3a 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -2165,6 +2165,8 @@ target_pre_inferior (int from_tty)
the inferior was attached to. */
current_inferior ()->attach_flag = 0;
+ current_inferior ()->highest_thread_num = 0;
+
agent_capability_invalidate ();
}