| commit | 0d8cbc5f2fcbcb9eb207f12507fdfe04f3d3ae14 | [log] [tgz] |
|---|---|---|
| author | Markus Metzger <markus.t.metzger@intel.com> | Thu Nov 25 15:22:24 2021 +0100 |
| committer | Markus Metzger <markus.t.metzger@intel.com> | Thu Jan 27 13:31:21 2022 +0100 |
| tree | f25de2cf681ae607b3afe2b65fc60fb51d36b4d7 | |
| parent | 696c0d5ef2a6edaa2094e808f53acd502a157641 [diff] |
gdb, remote, btrace: move switch_to_thread call right before xfer call In remote_target::remote_btrace_maybe_reopen, we switch to the currently iterated thread in order to set inferior_ptid for a subsequent xfer. Move the switch_to_thread call directly before the target_read_stralloc call to clarify why we need to switch threads.