diff options
Diffstat (limited to 'gdbserver/inferiors.cc')
-rw-r--r-- | gdbserver/inferiors.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbserver/inferiors.cc b/gdbserver/inferiors.cc index 7657ddb..e72b1c9 100644 --- a/gdbserver/inferiors.cc +++ b/gdbserver/inferiors.cc @@ -105,7 +105,7 @@ process_info::remove_thread (thread_info *thread) if (thread->btrace != NULL) target_disable_btrace (thread->btrace); - discard_queued_stop_replies (ptid_of (thread)); + discard_queued_stop_replies (thread->id); if (current_thread == thread) switch_to_thread (nullptr); |