public inbox for gdb-testers@sourceware.org help / color / mirror / Atom feed
From: gdb-buildbot@gdb-buildbot.osci.io To: gdb-testers@sourceware.org Subject: [binutils-gdb] Don't write to inferior_ptid in bsd-kvm.c Date: Sun, 19 Jul 2020 14:59:50 -0400 (EDT) [thread overview] Message-ID: <f2e1c129f8f0985ec80e6cf775cf3e4afbced6fa@gdb-build> (raw) *** TEST RESULTS FOR COMMIT f2e1c129f8f0985ec80e6cf775cf3e4afbced6fa *** commit f2e1c129f8f0985ec80e6cf775cf3e4afbced6fa Author: Pedro Alves <palves@redhat.com> AuthorDate: Thu Jun 18 21:28:30 2020 +0100 Commit: Pedro Alves <palves@redhat.com> CommitDate: Thu Jun 18 23:13:47 2020 +0100 Don't write to inferior_ptid in bsd-kvm.c gdb/ChangeLog: 2020-06-18 Pedro Alves <palves@redhat.com> * bsd-kvm.c (bsd_kvm_target::close): Use switch_to_no_thread instead of writing to inferior_ptid directly. diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 96335cb0a7..c465a4d36d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2020-06-18 Pedro Alves <palves@redhat.com> + + * bsd-kvm.c (bsd_kvm_target::close): Use switch_to_no_thread + instead of writing to inferior_ptid directly. + 2020-06-18 Pedro Alves <palves@redhat.com> * corelow.c (core_target::close): Use switch_to_no_thread instead diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c index b1b1fee5f4..f35c85a2ea 100644 --- a/gdb/bsd-kvm.c +++ b/gdb/bsd-kvm.c @@ -155,7 +155,7 @@ bsd_kvm_target::close () core_kd = NULL; } - inferior_ptid = null_ptid; + switch_to_no_thread (); exit_inferior_silent (current_inferior ()); }
next reply other threads:[~2020-07-19 18:59 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-07-19 18:59 gdb-buildbot [this message] 2020-07-19 18:59 ` Failures on Fedora-i686, branch master gdb-buildbot 2020-07-19 19:08 ` Failures on Fedora-x86_64-cc-with-index, " gdb-buildbot 2020-07-19 19:34 ` Failures on Fedora-x86_64-m32, " gdb-buildbot 2020-07-19 19:43 ` Failures on Fedora-x86_64-m64, " gdb-buildbot 2020-07-19 20:18 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " gdb-buildbot 2020-07-19 20:27 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " gdb-buildbot 2020-07-19 20:55 ` Failures on Fedora-x86_64-native-gdbserver-m32, " gdb-buildbot 2020-07-19 21:08 ` Failures on Fedora-x86_64-native-gdbserver-m64, " gdb-buildbot -- strict thread matches above, loose matches on Subject: below -- 2020-06-19 16:03 [binutils-gdb] Don't write to inferior_ptid in bsd-kvm.c gdb-buildbot
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=f2e1c129f8f0985ec80e6cf775cf3e4afbced6fa@gdb-build \ --to=gdb-buildbot@gdb-buildbot.osci.io \ --cc=gdb-testers@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).