aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2021-11-25 15:22:24 +0100
committerMarkus Metzger <markus.t.metzger@intel.com>2022-01-27 13:31:21 +0100
commit0d8cbc5f2fcbcb9eb207f12507fdfe04f3d3ae14 (patch)
treef25de2cf681ae607b3afe2b65fc60fb51d36b4d7 /binutils
parent696c0d5ef2a6edaa2094e808f53acd502a157641 (diff)
downloadbinutils-0d8cbc5f2fcbcb9eb207f12507fdfe04f3d3ae14.zip
binutils-0d8cbc5f2fcbcb9eb207f12507fdfe04f3d3ae14.tar.gz
binutils-0d8cbc5f2fcbcb9eb207f12507fdfe04f3d3ae14.tar.bz2
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.
Diffstat (limited to 'binutils')
0 files changed, 0 insertions, 0 deletions