Don't write to inferior_ptid in linux_get_siginfo_data
authorPedro Alves <palves@redhat.com>
Thu, 18 Jun 2020 20:28:17 +0000 (21:28 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 18 Jun 2020 20:28:17 +0000 (21:28 +0100)
commit41792d688a5a1f158d6e9ecda2b603ae122d69a1
tree1d6a5d139f43d73f1761362a27c794b717ded0f7
parenta8a566853a0fc7f57159e55436ff6f395e499568
Don't write to inferior_ptid in linux_get_siginfo_data

gdb/ChangeLog:
2020-06-18  Pedro Alves  <palves@redhat.com>

* linux-tdep.c (btrace_fetch): Save/restore current thread instead
of saving/restoring inferior_ptid.
gdb/ChangeLog
gdb/linux-tdep.c