diff options
author | Pedro Alves <palves@redhat.com> | 2020-06-18 21:28:20 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2020-06-18 23:04:17 +0100 |
commit | 6155c136ccf04b1e4ae1bdc201b853ce899b8607 (patch) | |
tree | 51a93b77b05afcd0e596dd83da90f5e3b91947b3 /gdb/tracectf.c | |
parent | c5316fc6e634858a3821e612e613342da562e0b3 (diff) | |
download | gdb-6155c136ccf04b1e4ae1bdc201b853ce899b8607.zip gdb-6155c136ccf04b1e4ae1bdc201b853ce899b8607.tar.gz gdb-6155c136ccf04b1e4ae1bdc201b853ce899b8607.tar.bz2 |
Don't write to inferior_ptid in inf-ptrace.c
gdb/ChangeLog:
2020-06-18 Pedro Alves <palves@redhat.com>
* inf-ptrace.c (inf_ptrace_target::create_inferior): Switch to the
added thread.
(inf_ptrace_target::attach): Don't write to inferior_ptid. Switch
to the added thread.
(inf_ptrace_target::detach_success): Use switch_to_no_thread
instead of writing to inferior_ptid.
Diffstat (limited to 'gdb/tracectf.c')
0 files changed, 0 insertions, 0 deletions