aboutsummaryrefslogtreecommitdiff
path: root/gdb/darwin-nat.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2020-06-18 21:28:28 +0100
committerPedro Alves <palves@redhat.com>2020-06-18 23:11:23 +0100
commit975f8708de015fb2b813edbf8b714f4777c57a41 (patch)
treeb8ce29a14c6aa23f7c87d4743c7ff134b50b954f /gdb/darwin-nat.c
parent1a20473059c7a088b9f3c4188c09976eebbc3ab4 (diff)
downloadgdb-975f8708de015fb2b813edbf8b714f4777c57a41.zip
gdb-975f8708de015fb2b813edbf8b714f4777c57a41.tar.gz
gdb-975f8708de015fb2b813edbf8b714f4777c57a41.tar.bz2
Don't write to inferior_ptid in gnu-nat.c
Untested. gdb/ChangeLog: 2020-06-18 Pedro Alves <palves@redhat.com> * gnu-nat.c (gnu_nat_target::create_inferior): Switch to the added thread. (gnu_nat_target::attach): Don't write to inferior_ptid directly. Instead use switch_to_thread. (gnu_nat_target::detach): Use switch_to_no_thread instead of writing to inferior_ptid directly. Used passed-in inferior instead of looking up the inferior by pid.
Diffstat (limited to 'gdb/darwin-nat.c')
0 files changed, 0 insertions, 0 deletions