public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Don't write to inferior_ptid in bsd-kvm.c
@ 2020-06-19 16:03 gdb-buildbot
  2020-06-19 16:03 ` Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, branch master gdb-buildbot
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: gdb-buildbot @ 2020-06-19 16:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5d971d48b922afc1cfe3ba1798477473cfbd052e ***

commit 5d971d48b922afc1cfe3ba1798477473cfbd052e
Author:     Pedro Alves <palves@redhat.com>
AuthorDate: Thu Jun 18 21:28:32 2020 +0100
Commit:     Pedro Alves <palves@redhat.com>
CommitDate: Thu Jun 18 23:14:40 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_open): Switch to thread after adding
            it, instead of writing to inferior_ptid.

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2f3c1e5887..606ac65d9c 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_open): Switch to thread after adding
+	it, instead of writing to inferior_ptid.
+
 2020-06-18  Pedro Alves  <palves@redhat.com>
 
 	* btrace.c (btrace_fetch): Use switch_to_thread instead of writing
diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c
index f35c85a2ea..d40bfe66e4 100644
--- a/gdb/bsd-kvm.c
+++ b/gdb/bsd-kvm.c
@@ -136,8 +136,8 @@ bsd_kvm_target_open (const char *arg, int from_tty)
   core_kd = temp_kd;
   push_target (&bsd_kvm_ops);
 
-  add_thread_silent (&bsd_kvm_ops, bsd_kvm_ptid);
-  inferior_ptid = bsd_kvm_ptid;
+  thread_info *thr = add_thread_silent (&bsd_kvm_ops, bsd_kvm_ptid);
+  switch_to_thread (thr);
 
   target_fetch_registers (get_current_regcache (), -1);
 


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, branch master
  2020-06-19 16:03 [binutils-gdb] Don't write to inferior_ptid in bsd-kvm.c gdb-buildbot
@ 2020-06-19 16:03 ` gdb-buildbot
  2020-06-19 16:21 ` Failures on Ubuntu-Aarch64-native-gdbserver-m64, " gdb-buildbot
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: gdb-buildbot @ 2020-06-19 16:03 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Ubuntu-Aarch64-native-extended-gdbserver-m64

Worker:
        ubuntu-aarch64

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/5/builds/3106

Author:
        Pedro Alves <palves@redhat.com>

Commit tested:
        5d971d48b922afc1cfe3ba1798477473cfbd052e

Subject of commit:
        Don't write to inferior_ptid in bsd-kvm.c

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Ubuntu-Aarch64-native-extended-gdbserver-m64/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e/

*** Diff to previous build ***
==============================================
PASS -> FAIL: gdb.arch/aarch64-brk-patterns.exp: insert breakpoint at brk instruction 1
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Ubuntu-Aarch64-native-extended-gdbserver-m64/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Ubuntu-Aarch64-native-extended-gdbserver-m64/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e//xfail.table.gz>



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Failures on Ubuntu-Aarch64-native-gdbserver-m64, branch master
  2020-06-19 16:03 [binutils-gdb] Don't write to inferior_ptid in bsd-kvm.c gdb-buildbot
  2020-06-19 16:03 ` Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, branch master gdb-buildbot
@ 2020-06-19 16:21 ` gdb-buildbot
  2020-07-20  0:11 ` Failures on Fedora-i686, " gdb-buildbot
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: gdb-buildbot @ 2020-06-19 16:21 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Ubuntu-Aarch64-native-gdbserver-m64

Worker:
        ubuntu-aarch64

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/19/builds/3147

Author:
        Pedro Alves <palves@redhat.com>

Commit tested:
        5d971d48b922afc1cfe3ba1798477473cfbd052e

Subject of commit:
        Don't write to inferior_ptid in bsd-kvm.c

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Ubuntu-Aarch64-native-gdbserver-m64/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e/

*** Diff to previous build ***
==============================================
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=0: inferior 1 exited
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Ubuntu-Aarch64-native-gdbserver-m64/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Ubuntu-Aarch64-native-gdbserver-m64/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e//xfail.table.gz>



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Failures on Fedora-i686, branch master
  2020-06-19 16:03 [binutils-gdb] Don't write to inferior_ptid in bsd-kvm.c gdb-buildbot
  2020-06-19 16:03 ` Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, branch master gdb-buildbot
  2020-06-19 16:21 ` Failures on Ubuntu-Aarch64-native-gdbserver-m64, " gdb-buildbot
@ 2020-07-20  0:11 ` gdb-buildbot
  2020-07-20  0:23 ` Failures on Fedora-x86_64-cc-with-index, " gdb-buildbot
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: gdb-buildbot @ 2020-07-20  0:11 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-i686

Worker:
        fedora-x86-64-3

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/18/builds/3511

Author:
        Pedro Alves <palves@redhat.com>

Commit tested:
        5d971d48b922afc1cfe3ba1798477473cfbd052e

Subject of commit:
        Don't write to inferior_ptid in bsd-kvm.c

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-i686/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e/

*** Diff to previous build ***
==============================================
UNRESOLVED -> FAIL: gdb.base/fork-running-state.exp: detach-on-fork=off: follow-fork=child: all-stop: schedule-multiple=off: only child marked running
UNRESOLVED -> FAIL: gdb.base/fork-running-state.exp: detach-on-fork=off: follow-fork=child: all-stop: schedule-multiple=on: info threads
PASS -> FAIL: gdb.base/options.exp: test-print: cmd complete "print -"
PASS -> FAIL: gdb.base/options.exp: test-print: tab complete "print -"
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-i686/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-i686/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e//xfail.table.gz>



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Failures on Fedora-x86_64-cc-with-index, branch master
  2020-06-19 16:03 [binutils-gdb] Don't write to inferior_ptid in bsd-kvm.c gdb-buildbot
                   ` (2 preceding siblings ...)
  2020-07-20  0:11 ` Failures on Fedora-i686, " gdb-buildbot
@ 2020-07-20  0:23 ` gdb-buildbot
  2020-07-20  0:45 ` Failures on Fedora-x86_64-m32, " gdb-buildbot
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: gdb-buildbot @ 2020-07-20  0:23 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-cc-with-index

Worker:
        fedora-x86-64-4

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/20/builds/3459

Author:
        Pedro Alves <palves@redhat.com>

Commit tested:
        5d971d48b922afc1cfe3ba1798477473cfbd052e

Subject of commit:
        Don't write to inferior_ptid in bsd-kvm.c

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-x86_64-cc-with-index/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e/

*** Diff to previous build ***
==============================================
UNRESOLVED -> FAIL: gdb.base/fork-running-state.exp: detach-on-fork=off: follow-fork=child: all-stop: schedule-multiple=on: info threads
PASS -> FAIL: gdb.base/signals-state-child.exp: signals states are identical
PASS -> KFAIL: gdb.threads/omp-par-scope.exp: nested_parallel: inner_threads: 3rd stop: print i
PASS -> KFAIL: gdb.threads/omp-par-scope.exp: nested_parallel: inner_threads: 3rd stop: print j
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=0: inferior 1 exited
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-cc-with-index/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-cc-with-index/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e//xfail.table.gz>



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Failures on Fedora-x86_64-m32, branch master
  2020-06-19 16:03 [binutils-gdb] Don't write to inferior_ptid in bsd-kvm.c gdb-buildbot
                   ` (3 preceding siblings ...)
  2020-07-20  0:23 ` Failures on Fedora-x86_64-cc-with-index, " gdb-buildbot
@ 2020-07-20  0:45 ` gdb-buildbot
  2020-07-20  0:58 ` Failures on Fedora-x86_64-m64, " gdb-buildbot
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: gdb-buildbot @ 2020-07-20  0:45 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-m32

Worker:
        fedora-x86-64-3

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/17/builds/3505

Author:
        Pedro Alves <palves@redhat.com>

Commit tested:
        5d971d48b922afc1cfe3ba1798477473cfbd052e

Subject of commit:
        Don't write to inferior_ptid in bsd-kvm.c

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-x86_64-m32/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e/

*** Diff to previous build ***
==============================================
PASS -> FAIL: gdb.base/fork-running-state.exp: detach-on-fork=off: follow-fork=child: all-stop: schedule-multiple=on: fork child appears
FAIL -> UNRESOLVED: gdb.base/fork-running-state.exp: detach-on-fork=off: follow-fork=child: all-stop: schedule-multiple=on: info threads
PASS -> FAIL: gdb.base/fork-running-state.exp: detach-on-fork=off: follow-fork=child: non-stop: continue &
FAIL -> UNRESOLVED: gdb.base/fork-running-state.exp: detach-on-fork=off: follow-fork=child: non-stop: info threads
PASS -> KFAIL: gdb.threads/non-ldr-exit.exp: program exits normally
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-m32/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-m32/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e//xfail.table.gz>



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Failures on Fedora-x86_64-m64, branch master
  2020-06-19 16:03 [binutils-gdb] Don't write to inferior_ptid in bsd-kvm.c gdb-buildbot
                   ` (4 preceding siblings ...)
  2020-07-20  0:45 ` Failures on Fedora-x86_64-m32, " gdb-buildbot
@ 2020-07-20  0:58 ` gdb-buildbot
  2020-07-20  1:30 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " gdb-buildbot
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: gdb-buildbot @ 2020-07-20  0:58 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-m64

Worker:
        fedora-x86-64-4

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/3/builds/3568

Author:
        Pedro Alves <palves@redhat.com>

Commit tested:
        5d971d48b922afc1cfe3ba1798477473cfbd052e

Subject of commit:
        Don't write to inferior_ptid in bsd-kvm.c

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-x86_64-m64/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e/

*** Diff to previous build ***
==============================================
UNRESOLVED -> FAIL: gdb.base/fork-running-state.exp: detach-on-fork=off: follow-fork=child: all-stop: schedule-multiple=off: only child marked running
UNRESOLVED -> FAIL: gdb.base/fork-running-state.exp: detach-on-fork=off: follow-fork=child: all-stop: schedule-multiple=on: info threads
PASS -> KFAIL: gdb.threads/omp-par-scope.exp: nested_parallel: inner_threads: 1st stop: print i
PASS -> KFAIL: gdb.threads/omp-par-scope.exp: nested_parallel: inner_threads: 1st stop: print j
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=0: inferior 1 exited
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=1: inferior 1 exited
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-m64/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-m64/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e//xfail.table.gz>



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch master
  2020-06-19 16:03 [binutils-gdb] Don't write to inferior_ptid in bsd-kvm.c gdb-buildbot
                   ` (5 preceding siblings ...)
  2020-07-20  0:58 ` Failures on Fedora-x86_64-m64, " gdb-buildbot
@ 2020-07-20  1:30 ` gdb-buildbot
  2020-07-20  1:42 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " gdb-buildbot
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: gdb-buildbot @ 2020-07-20  1:30 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-native-extended-gdbserver-m32

Worker:
        fedora-x86-64-3

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/4/builds/3401

Author:
        Pedro Alves <palves@redhat.com>

Commit tested:
        5d971d48b922afc1cfe3ba1798477473cfbd052e

Subject of commit:
        Don't write to inferior_ptid in bsd-kvm.c

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-extended-gdbserver-m32/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e/

*** Diff to previous build ***
==============================================
PASS -> UNRESOLVED: gdb.threads/attach-into-signal.exp: threaded: attach
new FAIL: gdb.threads/attach-into-signal.exp: threaded: thread apply 2 print $_siginfo.si_signo
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=0: inferior 1 exited
PASS -> FAIL: gdb.threads/thread-unwindonsignal.exp: continue until exit
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-extended-gdbserver-m32/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-extended-gdbserver-m32/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e//xfail.table.gz>



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Failures on Fedora-x86_64-native-extended-gdbserver-m64, branch master
  2020-06-19 16:03 [binutils-gdb] Don't write to inferior_ptid in bsd-kvm.c gdb-buildbot
                   ` (6 preceding siblings ...)
  2020-07-20  1:30 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " gdb-buildbot
@ 2020-07-20  1:42 ` gdb-buildbot
  2020-07-20  2:06 ` Failures on Fedora-x86_64-native-gdbserver-m32, " gdb-buildbot
  2020-07-20  2:19 ` Failures on Fedora-x86_64-native-gdbserver-m64, " gdb-buildbot
  9 siblings, 0 replies; 12+ messages in thread
From: gdb-buildbot @ 2020-07-20  1:42 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-native-extended-gdbserver-m64

Worker:
        fedora-x86-64-4

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/2/builds/3402

Author:
        Pedro Alves <palves@redhat.com>

Commit tested:
        5d971d48b922afc1cfe3ba1798477473cfbd052e

Subject of commit:
        Don't write to inferior_ptid in bsd-kvm.c

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-extended-gdbserver-m64/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e/

*** Diff to previous build ***
==============================================
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 10: break at break_fn: 1
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 10: break at break_fn: 2
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 10: break at break_fn: 3
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 6: break at break_fn: 1
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 6: break at break_fn: 2
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 6: break at break_fn: 3
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 6: detach
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 6: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 7: break at break_fn: 1
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 7: break at break_fn: 2
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 7: break at break_fn: 3
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 7: detach
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 7: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 8: break at break_fn: 1
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 8: break at break_fn: 2
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 8: break at break_fn: 3
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 8: detach
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 8: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 9: break at break_fn: 1
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 9: break at break_fn: 2
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 9: break at break_fn: 3
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 9: detach
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 9: reset timer in the inferior
FAIL -> UNRESOLVED: gdb.threads/fork-plus-threads.exp: detach-on-fork=off: inferior 1 exited
PASS -> KFAIL: gdb.threads/omp-par-scope.exp: nested_func: 2nd call: 2nd thread: print k
PASS -> KFAIL: gdb.threads/omp-par-scope.exp: nested_func: 2nd call: 2nd thread: print r
PASS -> KFAIL: gdb.threads/omp-par-scope.exp: nested_func: 2nd call: 2nd thread: print z
PASS -> KFAIL: gdb.threads/omp-par-scope.exp: nested_parallel: inner_threads: 2nd stop: print i
PASS -> KFAIL: gdb.threads/omp-par-scope.exp: nested_parallel: inner_threads: 2nd stop: print j
PASS -> KFAIL: gdb.threads/omp-par-scope.exp: nested_parallel: outer_threads: outer stop: print i
PASS -> KFAIL: gdb.threads/omp-par-scope.exp: nested_parallel: outer_threads: outer stop: print j
PASS -> KFAIL: gdb.threads/omp-par-scope.exp: single_scope: first thread: print i3
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=0: inferior 1 exited
PASS -> FAIL: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-extended-gdbserver-m64/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-extended-gdbserver-m64/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e//xfail.table.gz>



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Failures on Fedora-x86_64-native-gdbserver-m32, branch master
  2020-06-19 16:03 [binutils-gdb] Don't write to inferior_ptid in bsd-kvm.c gdb-buildbot
                   ` (7 preceding siblings ...)
  2020-07-20  1:42 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " gdb-buildbot
@ 2020-07-20  2:06 ` gdb-buildbot
  2020-07-20  2:19 ` Failures on Fedora-x86_64-native-gdbserver-m64, " gdb-buildbot
  9 siblings, 0 replies; 12+ messages in thread
From: gdb-buildbot @ 2020-07-20  2:06 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-native-gdbserver-m32

Worker:
        fedora-x86-64-3

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/24/builds/3414

Author:
        Pedro Alves <palves@redhat.com>

Commit tested:
        5d971d48b922afc1cfe3ba1798477473cfbd052e

Subject of commit:
        Don't write to inferior_ptid in bsd-kvm.c

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-gdbserver-m32/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e/

*** Diff to previous build ***
==============================================
PASS -> FAIL: gdb.multi/multi-re-run.exp: re_run_inf=1: iter=2: continue until exit
PASS -> FAIL: gdb.multi/multi-re-run.exp: re_run_inf=1: iter=2: print re_run_var_1
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=0: inferior 1 exited
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-gdbserver-m32/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-gdbserver-m32/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e//xfail.table.gz>



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Failures on Fedora-x86_64-native-gdbserver-m64, branch master
  2020-06-19 16:03 [binutils-gdb] Don't write to inferior_ptid in bsd-kvm.c gdb-buildbot
                   ` (8 preceding siblings ...)
  2020-07-20  2:06 ` Failures on Fedora-x86_64-native-gdbserver-m32, " gdb-buildbot
@ 2020-07-20  2:19 ` gdb-buildbot
  9 siblings, 0 replies; 12+ messages in thread
From: gdb-buildbot @ 2020-07-20  2:19 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-native-gdbserver-m64

Worker:
        fedora-x86-64-4

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/22/builds/3413

Author:
        Pedro Alves <palves@redhat.com>

Commit tested:
        5d971d48b922afc1cfe3ba1798477473cfbd052e

Subject of commit:
        Don't write to inferior_ptid in bsd-kvm.c

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-gdbserver-m64/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e/

*** Diff to previous build ***
==============================================
PASS -> FAIL: gdb.threads/interrupted-hand-call.exp: continue until exit
PASS -> KFAIL: gdb.threads/omp-par-scope.exp: multi_scope: second thread: print i02
PASS -> KFAIL: gdb.threads/omp-par-scope.exp: multi_scope: second thread: print i12
PASS -> KFAIL: gdb.threads/omp-par-scope.exp: multi_scope: second thread: print i22
PASS -> KFAIL: gdb.threads/omp-par-scope.exp: nested_func: 2nd call: 1st thread: print k
PASS -> KFAIL: gdb.threads/omp-par-scope.exp: nested_func: 2nd call: 1st thread: print r
PASS -> KFAIL: gdb.threads/omp-par-scope.exp: nested_func: 2nd call: 1st thread: print z
PASS -> KFAIL: gdb.threads/omp-par-scope.exp: nested_parallel: inner_threads: 3rd stop: print i
PASS -> KFAIL: gdb.threads/omp-par-scope.exp: nested_parallel: inner_threads: 3rd stop: print j
PASS -> KFAIL: gdb.threads/omp-par-scope.exp: nested_parallel: outer_threads: outer stop: print i
PASS -> KFAIL: gdb.threads/omp-par-scope.exp: nested_parallel: outer_threads: outer stop: print j
PASS -> FAIL: gdb.threads/thread-unwindonsignal.exp: continue until exit
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-gdbserver-m64/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-gdbserver-m64/5d/5d971d48b922afc1cfe3ba1798477473cfbd052e//xfail.table.gz>



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [binutils-gdb] Don't write to inferior_ptid in bsd-kvm.c
@ 2020-07-19 18:59 gdb-buildbot
  0 siblings, 0 replies; 12+ messages in thread
From: gdb-buildbot @ 2020-07-19 18:59 UTC (permalink / raw)
  To: gdb-testers

*** 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 ());
 }
 


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-07-20  2:19 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-19 16:03 [binutils-gdb] Don't write to inferior_ptid in bsd-kvm.c gdb-buildbot
2020-06-19 16:03 ` Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, branch master gdb-buildbot
2020-06-19 16:21 ` Failures on Ubuntu-Aarch64-native-gdbserver-m64, " gdb-buildbot
2020-07-20  0:11 ` Failures on Fedora-i686, " gdb-buildbot
2020-07-20  0:23 ` Failures on Fedora-x86_64-cc-with-index, " gdb-buildbot
2020-07-20  0:45 ` Failures on Fedora-x86_64-m32, " gdb-buildbot
2020-07-20  0:58 ` Failures on Fedora-x86_64-m64, " gdb-buildbot
2020-07-20  1:30 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " gdb-buildbot
2020-07-20  1:42 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " gdb-buildbot
2020-07-20  2:06 ` Failures on Fedora-x86_64-native-gdbserver-m32, " gdb-buildbot
2020-07-20  2:19 ` Failures on Fedora-x86_64-native-gdbserver-m64, " gdb-buildbot
2020-07-19 18:59 [binutils-gdb] Don't write to inferior_ptid in bsd-kvm.c gdb-buildbot

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).