public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb/gdb-7.12-branch] Fix PR gdb/20505 - Make vDSO detection work with core files
@ 2016-08-23 8:36 sergiodj+buildbot
2016-08-23 8:23 ` Failures on Fedora-x86_64-native-gdbserver-m32, branch gdb-7.12-branch sergiodj+buildbot
` (14 more replies)
0 siblings, 15 replies; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 8:36 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT 601a2a8f639f9ef6dab86118a87fa67861f2091e ***
Author: Pedro Alves <palves@redhat.com>
Branch: gdb-7.12-branch
Commit: 601a2a8f639f9ef6dab86118a87fa67861f2091e
Fix PR gdb/20505 - Make vDSO detection work with core files
Loading a core dump that was either generated on a system running
pristine glibc master, or on a Fedora/RHEL system with LD_DEBUG=unused
set in the environment, solib-svr4.c:svr4_current_sos fails to filter
out the vDSO, resulting in:
(gdb) core-file corefile.core^M
[New LWP 2362]^M
warning: Could not load shared library symbols for linux-vdso.so.1.^M
Do you need "set solib-search-path" or "set sysroot"?^M
Core was generated by `build-gdb/gdb/testsuite/outputs/gdb.base/corefile/'.^M
...
The problem is that gdbarch_vsyscall_range does not support core
inferiors at all.
When live debugging, we're finding the vDSO's start address with
auxv/AT_SYSINFO_EHDR, and then we find the vDSO's size by look for the
corresponding mapping, by parsing /proc/PID/maps. When debugging a
core dump, we can also determine the starting address from
auxv/AT_SYSINFO_EHDR. However, we obviously can't read the core
mappings out of the host's /proc. But we can instead look for a
corresponding load segment in the core's bfd.
gdb/ChangeLog:
2016-08-22 Pedro Alves <palves@redhat.com>
PR gdb/20505
* linux-tdep.c (linux_vsyscall_range_raw): For core inferiors,
find the vDSO's start address with AT_SYSINFO_EHDR too, and
determine the vDSO's size by finding the PT_LOAD segment that
matches AT_SYSINFO_EHDR.
gdb/testsuite/ChangeLog:
2016-08-22 Pedro Alves <palves@redhat.com>
PR gdb/20505
* gdb.base/vdso-warning.exp: Test core dumps too. Use
with_test_prefix. Factor out bits to ...
(test_no_vdso): ... this new procedure.
^ permalink raw reply [flat|nested] 39+ messages in thread
* Failures on Fedora-x86_64-native-gdbserver-m32, branch gdb-7.12-branch
2016-08-23 8:36 [binutils-gdb/gdb-7.12-branch] Fix PR gdb/20505 - Make vDSO detection work with core files sergiodj+buildbot
@ 2016-08-23 8:23 ` sergiodj+buildbot
2016-08-23 9:00 ` Failures on Debian-s390x-native-gdbserver-m64, " sergiodj+buildbot
` (13 subsequent siblings)
14 siblings, 0 replies; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 8:23 UTC (permalink / raw)
To: gdb-testers
Buildslave:
fedora-x86-64-2
Full Build URL:
<http://gdb-build.sergiodj.net/builders/Fedora-x86_64-native-gdbserver-m32/builds/4175>
Commit(s) tested:
601a2a8f639f9ef6dab86118a87fa67861f2091e
Author(s) (in the same order as the commits):
Pedro Alves <palves@redhat.com>
Subject:
Fix PR gdb/20505 - Make vDSO detection work with core files
Testsuite log (gdb.sum and gdb.log) URL(s):
<http://gdb-build.sergiodj.net/cgit/Fedora-x86_64-native-gdbserver-m32/.git/tree/?h=gdb-7.12-branch&id=d4397b7a3ab43270982220b5fe5372cfe53dc1cb>
*** Diff to previous build ***
============================
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: signal thr2: setup: continue to breakpoint: run to breakpoint in thread 3
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: signal thr2: setup: unbreak loop in thread 3
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: signal thr3: setup: continue to breakpoint: run to breakpoint in thread 3
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: signal thr3: setup: unbreak loop in thread 3
PASS -> FAIL: gdb.threads/thread-unwindonsignal.exp: continue until exit
============================
*** Complete list of XFAILs for this builder ***
FAILURE TO OBTAIN THE COMMIT FOR THE XFAIL LIST. PLEASE CONTACT THE BUILDBOT ADMIN.
^ permalink raw reply [flat|nested] 39+ messages in thread
* Failures on Debian-s390x-native-gdbserver-m64, branch gdb-7.12-branch
2016-08-23 8:36 [binutils-gdb/gdb-7.12-branch] Fix PR gdb/20505 - Make vDSO detection work with core files sergiodj+buildbot
2016-08-23 8:23 ` Failures on Fedora-x86_64-native-gdbserver-m32, branch gdb-7.12-branch sergiodj+buildbot
@ 2016-08-23 9:00 ` sergiodj+buildbot
2016-08-23 9:01 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj+buildbot
` (12 subsequent siblings)
14 siblings, 0 replies; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 9:00 UTC (permalink / raw)
To: gdb-testers
Buildslave:
debian-jessie-s390x-1
Full Build URL:
<http://gdb-build.sergiodj.net/builders/Debian-s390x-native-gdbserver-m64/builds/2815>
Commit(s) tested:
601a2a8f639f9ef6dab86118a87fa67861f2091e
Author(s) (in the same order as the commits):
Pedro Alves <palves@redhat.com>
Subject:
Fix PR gdb/20505 - Make vDSO detection work with core files
Testsuite log (gdb.sum and gdb.log) URL(s):
<http://gdb-build.sergiodj.net/cgit/Debian-s390x-native-gdbserver-m64/.git/tree/?h=gdb-7.12-branch&id=46790d7c07580bfbc3613446c2a5790401964360>
*** Diff to previous build ***
============================
PASS -> FAIL: gdb.threads/interrupted-hand-call.exp: continue until exit
PASS -> FAIL: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified
============================
*** Complete list of XFAILs for this builder ***
FAILURE TO OBTAIN THE COMMIT FOR THE XFAIL LIST. PLEASE CONTACT THE BUILDBOT ADMIN.
^ permalink raw reply [flat|nested] 39+ messages in thread
* Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch gdb-7.12-branch
2016-08-23 8:36 [binutils-gdb/gdb-7.12-branch] Fix PR gdb/20505 - Make vDSO detection work with core files sergiodj+buildbot
2016-08-23 8:23 ` Failures on Fedora-x86_64-native-gdbserver-m32, branch gdb-7.12-branch sergiodj+buildbot
2016-08-23 9:00 ` Failures on Debian-s390x-native-gdbserver-m64, " sergiodj+buildbot
@ 2016-08-23 9:01 ` sergiodj+buildbot
2016-08-23 9:53 ` Failures on Ubuntu-AArch64-m64, " sergiodj+buildbot
` (11 subsequent siblings)
14 siblings, 0 replies; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 9:01 UTC (permalink / raw)
To: gdb-testers
Buildslave:
fedora-x86-64-3
Full Build URL:
<http://gdb-build.sergiodj.net/builders/Fedora-x86_64-native-extended-gdbserver-m32/builds/4173>
Commit(s) tested:
601a2a8f639f9ef6dab86118a87fa67861f2091e
Author(s) (in the same order as the commits):
Pedro Alves <palves@redhat.com>
Subject:
Fix PR gdb/20505 - Make vDSO detection work with core files
Testsuite log (gdb.sum and gdb.log) URL(s):
<http://gdb-build.sergiodj.net/cgit/Fedora-x86_64-native-extended-gdbserver-m32/.git/tree/?h=gdb-7.12-branch&id=93b0efcbeeb73e1d30443f250233dd4b8e5d2197>
*** Diff to previous build ***
============================
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: step: setup: continue to breakpoint: run to breakpoint in thread 3
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: step: setup: unbreak loop in thread 3
============================
*** Complete list of XFAILs for this builder ***
FAILURE TO OBTAIN THE COMMIT FOR THE XFAIL LIST. PLEASE CONTACT THE BUILDBOT ADMIN.
^ permalink raw reply [flat|nested] 39+ messages in thread
* Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch
2016-08-23 8:36 [binutils-gdb/gdb-7.12-branch] Fix PR gdb/20505 - Make vDSO detection work with core files sergiodj+buildbot
` (2 preceding siblings ...)
2016-08-23 9:01 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj+buildbot
@ 2016-08-23 9:53 ` sergiodj+buildbot
2016-08-23 10:05 ` Failures on Debian-i686, " sergiodj+buildbot
` (10 subsequent siblings)
14 siblings, 0 replies; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 9:53 UTC (permalink / raw)
To: gdb-testers
Buildslave:
ubuntu-aarch64-1
Full Build URL:
<http://gdb-build.sergiodj.net/builders/Ubuntu-AArch64-m64/builds/363>
Commit(s) tested:
601a2a8f639f9ef6dab86118a87fa67861f2091e
Author(s) (in the same order as the commits):
Pedro Alves <palves@redhat.com>
Subject:
Fix PR gdb/20505 - Make vDSO detection work with core files
Testsuite log (gdb.sum and gdb.log) URL(s):
<http://gdb-build.sergiodj.net/cgit/Ubuntu-AArch64-m64/.git/tree/?h=gdb-7.12-branch&id=e74bdc6dd0d54afa42a029b12e55e9b629f120b9>
*** Diff to previous build ***
============================
PASS -> FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint: continue
============================
*** Complete list of XFAILs for this builder ***
FAILURE TO OBTAIN THE COMMIT FOR THE XFAIL LIST. PLEASE CONTACT THE BUILDBOT ADMIN.
^ permalink raw reply [flat|nested] 39+ messages in thread
* Failures on Debian-i686, branch gdb-7.12-branch
2016-08-23 8:36 [binutils-gdb/gdb-7.12-branch] Fix PR gdb/20505 - Make vDSO detection work with core files sergiodj+buildbot
` (3 preceding siblings ...)
2016-08-23 9:53 ` Failures on Ubuntu-AArch64-m64, " sergiodj+buildbot
@ 2016-08-23 10:05 ` sergiodj+buildbot
2016-08-23 10:08 ` Failures on Fedora-i686, " sergiodj+buildbot
` (9 subsequent siblings)
14 siblings, 0 replies; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 10:05 UTC (permalink / raw)
To: gdb-testers
Buildslave:
wildebeest-debian-wheezy-i686
Full Build URL:
<http://gdb-build.sergiodj.net/builders/Debian-i686/builds/4005>
Commit(s) tested:
601a2a8f639f9ef6dab86118a87fa67861f2091e
Author(s) (in the same order as the commits):
Pedro Alves <palves@redhat.com>
Subject:
Fix PR gdb/20505 - Make vDSO detection work with core files
Testsuite log (gdb.sum and gdb.log) URL(s):
<http://gdb-build.sergiodj.net/cgit/Debian-i686/.git/tree/?h=gdb-7.12-branch&id=05b218603176890672ff03c720ed352f9c139a1e>
*** Diff to previous build ***
============================
PASS -> FAIL: gdb.base/longjmp.exp: next over patt3
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: signal thr2: setup: continue to breakpoint: run to breakpoint in thread 3
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: signal thr2: setup: unbreak loop in thread 3
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: signal thr2: continue to sigusr1_handler
============================
*** Complete list of XFAILs for this builder ***
FAILURE TO OBTAIN THE COMMIT FOR THE XFAIL LIST. PLEASE CONTACT THE BUILDBOT ADMIN.
^ permalink raw reply [flat|nested] 39+ messages in thread
* Failures on Fedora-i686, branch gdb-7.12-branch
2016-08-23 8:36 [binutils-gdb/gdb-7.12-branch] Fix PR gdb/20505 - Make vDSO detection work with core files sergiodj+buildbot
` (4 preceding siblings ...)
2016-08-23 10:05 ` Failures on Debian-i686, " sergiodj+buildbot
@ 2016-08-23 10:08 ` sergiodj+buildbot
2016-08-23 10:20 ` Failures on Fedora-x86_64-m32, " sergiodj+buildbot
` (8 subsequent siblings)
14 siblings, 0 replies; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 10:08 UTC (permalink / raw)
To: gdb-testers
Buildslave:
fedora-x86-64-2
Full Build URL:
<http://gdb-build.sergiodj.net/builders/Fedora-i686/builds/4188>
Commit(s) tested:
601a2a8f639f9ef6dab86118a87fa67861f2091e
Author(s) (in the same order as the commits):
Pedro Alves <palves@redhat.com>
Subject:
Fix PR gdb/20505 - Make vDSO detection work with core files
Testsuite log (gdb.sum and gdb.log) URL(s):
<http://gdb-build.sergiodj.net/cgit/Fedora-i686/.git/tree/?h=gdb-7.12-branch&id=902a4b65570e18e9d002f880117feb5ccb49816d>
*** Diff to previous build ***
============================
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: signal thr3: setup: continue to breakpoint: run to breakpoint in thread 2
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: signal thr3: setup: unbreak loop in thread 2
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: signal thr3: continue to sigusr1_handler
============================
*** Complete list of XFAILs for this builder ***
FAILURE TO OBTAIN THE COMMIT FOR THE XFAIL LIST. PLEASE CONTACT THE BUILDBOT ADMIN.
^ permalink raw reply [flat|nested] 39+ messages in thread
* Failures on Fedora-x86_64-m32, branch gdb-7.12-branch
2016-08-23 8:36 [binutils-gdb/gdb-7.12-branch] Fix PR gdb/20505 - Make vDSO detection work with core files sergiodj+buildbot
` (5 preceding siblings ...)
2016-08-23 10:08 ` Failures on Fedora-i686, " sergiodj+buildbot
@ 2016-08-23 10:20 ` sergiodj+buildbot
2016-08-23 10:20 ` Failures on Debian-s390x-m64, " sergiodj+buildbot
` (7 subsequent siblings)
14 siblings, 0 replies; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 10:20 UTC (permalink / raw)
To: gdb-testers
Buildslave:
fedora-x86-64-4
Full Build URL:
<http://gdb-build.sergiodj.net/builders/Fedora-x86_64-m32/builds/4179>
Commit(s) tested:
601a2a8f639f9ef6dab86118a87fa67861f2091e
Author(s) (in the same order as the commits):
Pedro Alves <palves@redhat.com>
Subject:
Fix PR gdb/20505 - Make vDSO detection work with core files
Testsuite log (gdb.sum and gdb.log) URL(s):
<http://gdb-build.sergiodj.net/cgit/Fedora-x86_64-m32/.git/tree/?h=gdb-7.12-branch&id=c099c283828c72a4e1e6d767814bc7ceb5ef10b7>
*** Diff to previous build ***
============================
PASS -> FAIL: gdb.ada/win_fu_syms.exp: compilation foo.adb
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: attach
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: break break_fn
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: break at break_fn: 1
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: break at break_fn: 2
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: break at break_fn: 3
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: print seconds_left
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: detach
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: delete all breakpoints in delete_breakpoints
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: break break_fn
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: break at break_fn: 1
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: break at break_fn: 2
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: break at break_fn: 3
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: print seconds_left
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: detach
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: delete all breakpoints in delete_breakpoints
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: break break_fn
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: break at break_fn: 1
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: break at break_fn: 2
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: break at break_fn: 3
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: print seconds_left
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: detach
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: delete all breakpoints in delete_breakpoints
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 4: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 4: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 4: break break_fn
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 4: break at break_fn: 1
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 4: break at break_fn: 2
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 4: break at break_fn: 3
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 4: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 4: print seconds_left
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 4: detach
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 4: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 4: delete all breakpoints in delete_breakpoints
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 5: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 5: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 5: break break_fn
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 5: break at break_fn: 1
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 5: break at break_fn: 2
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 5: break at break_fn: 3
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 5: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 5: print seconds_left
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 5: detach
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 5: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 5: delete all breakpoints in delete_breakpoints
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 6: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 6: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 6: break break_fn
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: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 6: print seconds_left
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: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 6: delete all breakpoints in delete_breakpoints
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 7: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 7: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 7: break break_fn
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: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 7: print seconds_left
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: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 7: delete all breakpoints in delete_breakpoints
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 8: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 8: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 8: break break_fn
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: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 8: print seconds_left
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: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 8: delete all breakpoints in delete_breakpoints
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 9: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 9: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 9: break break_fn
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: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 9: print seconds_left
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: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 9: delete all breakpoints in delete_breakpoints
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 10: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 10: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 10: break break_fn
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 10: kill process
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 10: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 10: delete all breakpoints in delete_breakpoints
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: continue: setup: continue to breakpoint: run to breakpoint in thread 2
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: continue: setup: unbreak loop in thread 2
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: continue: continue
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: signal thr2: setup: continue to breakpoint: run to breakpoint in thread 2
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: signal thr2: setup: unbreak loop in thread 2
============================
*** Complete list of XFAILs for this builder ***
FAILURE TO OBTAIN THE COMMIT FOR THE XFAIL LIST. PLEASE CONTACT THE BUILDBOT ADMIN.
^ permalink raw reply [flat|nested] 39+ messages in thread
* Failures on Debian-s390x-m64, branch gdb-7.12-branch
2016-08-23 8:36 [binutils-gdb/gdb-7.12-branch] Fix PR gdb/20505 - Make vDSO detection work with core files sergiodj+buildbot
` (6 preceding siblings ...)
2016-08-23 10:20 ` Failures on Fedora-x86_64-m32, " sergiodj+buildbot
@ 2016-08-23 10:20 ` sergiodj+buildbot
2016-08-23 11:02 ` Failures on Debian-s390x-native-extended-gdbserver-m64, " sergiodj+buildbot
` (6 subsequent siblings)
14 siblings, 0 replies; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 10:20 UTC (permalink / raw)
To: gdb-testers
Buildslave:
debian-jessie-s390x-1
Full Build URL:
<http://gdb-build.sergiodj.net/builders/Debian-s390x-m64/builds/2808>
Commit(s) tested:
601a2a8f639f9ef6dab86118a87fa67861f2091e
Author(s) (in the same order as the commits):
Pedro Alves <palves@redhat.com>
Subject:
Fix PR gdb/20505 - Make vDSO detection work with core files
Testsuite log (gdb.sum and gdb.log) URL(s):
<http://gdb-build.sergiodj.net/cgit/Debian-s390x-m64/.git/tree/?h=gdb-7.12-branch&id=0d0395f98eef17ce193d85e4fe450c0a081de951>
*** Diff to previous build ***
============================
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: attach
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: break break_fn
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: break at break_fn: 1
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: break at break_fn: 2
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: break at break_fn: 3
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: print seconds_left
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: detach
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: delete all breakpoints in delete_breakpoints
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: break break_fn
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: break at break_fn: 1
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: break at break_fn: 2
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: break at break_fn: 3
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: print seconds_left
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: detach
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: delete all breakpoints in delete_breakpoints
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: break break_fn
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: break at break_fn: 1
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: break at break_fn: 2
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: break at break_fn: 3
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: print seconds_left
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: detach
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: delete all breakpoints in delete_breakpoints
============================
*** Complete list of XFAILs for this builder ***
FAILURE TO OBTAIN THE COMMIT FOR THE XFAIL LIST. PLEASE CONTACT THE BUILDBOT ADMIN.
^ permalink raw reply [flat|nested] 39+ messages in thread
* Failures on Debian-s390x-native-extended-gdbserver-m64, branch gdb-7.12-branch
2016-08-23 8:36 [binutils-gdb/gdb-7.12-branch] Fix PR gdb/20505 - Make vDSO detection work with core files sergiodj+buildbot
` (7 preceding siblings ...)
2016-08-23 10:20 ` Failures on Debian-s390x-m64, " sergiodj+buildbot
@ 2016-08-23 11:02 ` sergiodj+buildbot
2016-08-23 11:08 ` Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot
` (5 subsequent siblings)
14 siblings, 0 replies; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 11:02 UTC (permalink / raw)
To: gdb-testers
Buildslave:
debian-jessie-s390x-1
Full Build URL:
<http://gdb-build.sergiodj.net/builders/Debian-s390x-native-extended-gdbserver-m64/builds/2822>
Commit(s) tested:
601a2a8f639f9ef6dab86118a87fa67861f2091e
Author(s) (in the same order as the commits):
Pedro Alves <palves@redhat.com>
Subject:
Fix PR gdb/20505 - Make vDSO detection work with core files
Testsuite log (gdb.sum and gdb.log) URL(s):
<http://gdb-build.sergiodj.net/cgit/Debian-s390x-native-extended-gdbserver-m64/.git/tree/?h=gdb-7.12-branch&id=c5bc9f5f56a537232c92fc750554abb8548ed087>
*** Diff to previous build ***
============================
PASS -> FAIL: gdb.arch/s390-multiarch.exp: core-file #2
PASS -> FAIL: gdb.threads/clone-attach-detach.exp: fg attach 2: info threads shows two LWPs
PASS -> FAIL: gdb.threads/clone-attach-detach.exp: fg attach 2: detach
PASS -> FAIL: gdb.threads/clone-attach-detach.exp: fg attach 3: attach
PASS -> FAIL: gdb.threads/clone-attach-detach.exp: fg attach 3: info threads shows two LWPs
PASS -> FAIL: gdb.threads/clone-attach-detach.exp: fg attach 3: detach
============================
*** Complete list of XFAILs for this builder ***
FAILURE TO OBTAIN THE COMMIT FOR THE XFAIL LIST. PLEASE CONTACT THE BUILDBOT ADMIN.
^ permalink raw reply [flat|nested] 39+ messages in thread
* Failures on Debian-i686-native-extended-gdbserver, branch gdb-7.12-branch
2016-08-23 8:36 [binutils-gdb/gdb-7.12-branch] Fix PR gdb/20505 - Make vDSO detection work with core files sergiodj+buildbot
` (8 preceding siblings ...)
2016-08-23 11:02 ` Failures on Debian-s390x-native-extended-gdbserver-m64, " sergiodj+buildbot
@ 2016-08-23 11:08 ` sergiodj+buildbot
2016-08-23 11:19 ` Failures on Fedora-x86_64-m64, " sergiodj+buildbot
` (4 subsequent siblings)
14 siblings, 0 replies; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 11:08 UTC (permalink / raw)
To: gdb-testers
Buildslave:
wildebeest-debian-wheezy-i686
Full Build URL:
<http://gdb-build.sergiodj.net/builders/Debian-i686-native-extended-gdbserver/builds/3988>
Commit(s) tested:
601a2a8f639f9ef6dab86118a87fa67861f2091e
Author(s) (in the same order as the commits):
Pedro Alves <palves@redhat.com>
Subject:
Fix PR gdb/20505 - Make vDSO detection work with core files
Testsuite log (gdb.sum and gdb.log) URL(s):
<http://gdb-build.sergiodj.net/cgit/Debian-i686-native-extended-gdbserver/.git/tree/?h=gdb-7.12-branch&id=0d9d1d7bda414e40dd9dfdee6744e12c0a04445b>
*** Diff to previous build ***
============================
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: step: setup: continue to breakpoint: run to breakpoint in thread 3
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: step: setup: unbreak loop in thread 3
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: signal thr2: setup: continue to breakpoint: run to breakpoint in thread 2
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: signal thr2: setup: unbreak loop in thread 2
============================
*** Complete list of XFAILs for this builder ***
FAILURE TO OBTAIN THE COMMIT FOR THE XFAIL LIST. PLEASE CONTACT THE BUILDBOT ADMIN.
^ permalink raw reply [flat|nested] 39+ messages in thread
* Failures on Fedora-x86_64-m64, branch gdb-7.12-branch
2016-08-23 8:36 [binutils-gdb/gdb-7.12-branch] Fix PR gdb/20505 - Make vDSO detection work with core files sergiodj+buildbot
` (9 preceding siblings ...)
2016-08-23 11:08 ` Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot
@ 2016-08-23 11:19 ` sergiodj+buildbot
2016-08-23 11:40 ` Failures on Fedora-ppc64be-m64, " sergiodj+buildbot
` (3 subsequent siblings)
14 siblings, 0 replies; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 11:19 UTC (permalink / raw)
To: gdb-testers
Buildslave:
fedora-x86-64-3
Full Build URL:
<http://gdb-build.sergiodj.net/builders/Fedora-x86_64-m64/builds/4199>
Commit(s) tested:
601a2a8f639f9ef6dab86118a87fa67861f2091e
Author(s) (in the same order as the commits):
Pedro Alves <palves@redhat.com>
Subject:
Fix PR gdb/20505 - Make vDSO detection work with core files
Testsuite log (gdb.sum and gdb.log) URL(s):
<http://gdb-build.sergiodj.net/cgit/Fedora-x86_64-m64/.git/tree/?h=gdb-7.12-branch&id=50bb97f49d0a2305bd1eea69b178cffd56809bd6>
*** Diff to previous build ***
============================
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: attach
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: break break_fn
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: break at break_fn: 1
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: break at break_fn: 2
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: break at break_fn: 3
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: print seconds_left
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: detach
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 1: delete all breakpoints in delete_breakpoints
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: break break_fn
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: break at break_fn: 1
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: break at break_fn: 2
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: break at break_fn: 3
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: print seconds_left
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: detach
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 2: delete all breakpoints in delete_breakpoints
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: break break_fn
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: break at break_fn: 1
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: break at break_fn: 2
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: break at break_fn: 3
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: print seconds_left
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: detach
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 3: delete all breakpoints in delete_breakpoints
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 4: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 4: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 4: break break_fn
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 4: break at break_fn: 1
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 4: break at break_fn: 2
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 4: break at break_fn: 3
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 4: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 4: print seconds_left
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 4: detach
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 4: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 4: delete all breakpoints in delete_breakpoints
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 5: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 5: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 5: break break_fn
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 5: break at break_fn: 1
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 5: break at break_fn: 2
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 5: break at break_fn: 3
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 5: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 5: print seconds_left
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 5: detach
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 5: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 5: delete all breakpoints in delete_breakpoints
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 6: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 6: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 6: break break_fn
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: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 6: print seconds_left
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: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 6: delete all breakpoints in delete_breakpoints
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 7: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 7: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 7: break break_fn
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: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 7: print seconds_left
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: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 7: delete all breakpoints in delete_breakpoints
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 8: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 8: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 8: break break_fn
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: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 8: print seconds_left
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: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 8: delete all breakpoints in delete_breakpoints
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 9: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 9: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 9: break break_fn
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: reset timer in the inferior
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 9: print seconds_left
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: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 9: delete all breakpoints in delete_breakpoints
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 10: no new threads
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 10: set breakpoint always-inserted on
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 10: break break_fn
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 10: kill process
PASS -> FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 10: set breakpoint always-inserted off
new FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 10: delete all breakpoints in delete_breakpoints
PASS -> FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: killed outside: continue
============================
*** Complete list of XFAILs for this builder ***
FAILURE TO OBTAIN THE COMMIT FOR THE XFAIL LIST. PLEASE CONTACT THE BUILDBOT ADMIN.
^ permalink raw reply [flat|nested] 39+ messages in thread
* Failures on Fedora-ppc64be-m64, branch gdb-7.12-branch
2016-08-23 8:36 [binutils-gdb/gdb-7.12-branch] Fix PR gdb/20505 - Make vDSO detection work with core files sergiodj+buildbot
` (10 preceding siblings ...)
2016-08-23 11:19 ` Failures on Fedora-x86_64-m64, " sergiodj+buildbot
@ 2016-08-23 11:40 ` sergiodj+buildbot
2016-08-23 12:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, " sergiodj+buildbot
` (2 subsequent siblings)
14 siblings, 0 replies; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 11:40 UTC (permalink / raw)
To: gdb-testers
Buildslave:
fedora-ppc64be-1
Full Build URL:
<http://gdb-build.sergiodj.net/builders/Fedora-ppc64be-m64/builds/4057>
Commit(s) tested:
601a2a8f639f9ef6dab86118a87fa67861f2091e
Author(s) (in the same order as the commits):
Pedro Alves <palves@redhat.com>
Subject:
Fix PR gdb/20505 - Make vDSO detection work with core files
Testsuite log (gdb.sum and gdb.log) URL(s):
<http://gdb-build.sergiodj.net/cgit/Fedora-ppc64be-m64/.git/tree/?h=gdb-7.12-branch&id=2d5c451d82d3255a6351eef3bc6772c921bdc4f8>
*** Diff to previous build ***
============================
PASS -> FAIL: gdb.base/checkpoint-ns.exp: breakpoint 1 4 one
============================
*** Complete list of XFAILs for this builder ***
FAILURE TO OBTAIN THE COMMIT FOR THE XFAIL LIST. PLEASE CONTACT THE BUILDBOT ADMIN.
^ permalink raw reply [flat|nested] 39+ messages in thread
* Failures on Fedora-ppc64be-native-gdbserver-m64, branch gdb-7.12-branch
2016-08-23 8:36 [binutils-gdb/gdb-7.12-branch] Fix PR gdb/20505 - Make vDSO detection work with core files sergiodj+buildbot
` (11 preceding siblings ...)
2016-08-23 11:40 ` Failures on Fedora-ppc64be-m64, " sergiodj+buildbot
@ 2016-08-23 12:02 ` sergiodj+buildbot
2016-08-23 12:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-08-23 12:46 ` Failures on Fedora-ppc64le-native-gdbserver-m64, " sergiodj+buildbot
14 siblings, 0 replies; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 12:02 UTC (permalink / raw)
To: gdb-testers
Buildslave:
fedora-ppc64be-1
Full Build URL:
<http://gdb-build.sergiodj.net/builders/Fedora-ppc64be-native-gdbserver-m64/builds/4050>
Commit(s) tested:
601a2a8f639f9ef6dab86118a87fa67861f2091e
Author(s) (in the same order as the commits):
Pedro Alves <palves@redhat.com>
Subject:
Fix PR gdb/20505 - Make vDSO detection work with core files
Testsuite log (gdb.sum and gdb.log) URL(s):
<Error fetching commit ID for 601a2a8f639f9ef6dab86118a87fa67861f2091e>
^ permalink raw reply [flat|nested] 39+ messages in thread
* Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch gdb-7.12-branch
2016-08-23 8:36 [binutils-gdb/gdb-7.12-branch] Fix PR gdb/20505 - Make vDSO detection work with core files sergiodj+buildbot
` (12 preceding siblings ...)
2016-08-23 12:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, " sergiodj+buildbot
@ 2016-08-23 12:35 ` sergiodj+buildbot
2016-08-23 12:46 ` Failures on Fedora-ppc64le-native-gdbserver-m64, " sergiodj+buildbot
14 siblings, 0 replies; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 12:35 UTC (permalink / raw)
To: gdb-testers
Buildslave:
fedora-ppc64be-1
Full Build URL:
<http://gdb-build.sergiodj.net/builders/Fedora-ppc64be-native-extended-gdbserver-m64/builds/4058>
Commit(s) tested:
601a2a8f639f9ef6dab86118a87fa67861f2091e
Author(s) (in the same order as the commits):
Pedro Alves <palves@redhat.com>
Subject:
Fix PR gdb/20505 - Make vDSO detection work with core files
Testsuite log (gdb.sum and gdb.log) URL(s):
<Error fetching commit ID for 601a2a8f639f9ef6dab86118a87fa67861f2091e>
^ permalink raw reply [flat|nested] 39+ messages in thread
* Failures on Fedora-ppc64le-native-gdbserver-m64, branch gdb-7.12-branch
2016-08-23 8:36 [binutils-gdb/gdb-7.12-branch] Fix PR gdb/20505 - Make vDSO detection work with core files sergiodj+buildbot
` (13 preceding siblings ...)
2016-08-23 12:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj+buildbot
@ 2016-08-23 12:46 ` sergiodj+buildbot
14 siblings, 0 replies; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 12:46 UTC (permalink / raw)
To: gdb-testers
Buildslave:
fedora-ppc64le-1
Full Build URL:
<http://gdb-build.sergiodj.net/builders/Fedora-ppc64le-native-gdbserver-m64/builds/3979>
Commit(s) tested:
601a2a8f639f9ef6dab86118a87fa67861f2091e
Author(s) (in the same order as the commits):
Pedro Alves <palves@redhat.com>
Subject:
Fix PR gdb/20505 - Make vDSO detection work with core files
Testsuite log (gdb.sum and gdb.log) URL(s):
<http://gdb-build.sergiodj.net/cgit/Fedora-ppc64le-native-gdbserver-m64/.git/tree/?h=gdb-7.12-branch&id=d763be04114f572fb6fdc65afd8bd1c7c51428b5>
*** Diff to previous build ***
============================
PASS -> FAIL: gdb.trace/mi-traceframe-changed.exp: remote: continue to end
PASS -> FAIL: gdb.trace/mi-traceframe-changed.exp: remote: trace stop
============================
*** Complete list of XFAILs for this builder ***
FAILURE TO OBTAIN THE COMMIT FOR THE XFAIL LIST. PLEASE CONTACT THE BUILDBOT ADMIN.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] Remove assert on exec_bfd in cris_delayed_get_disassembler
@ 2016-12-12 11:35 sergiodj+buildbot
2016-12-12 13:33 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-12-12 11:35 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT d47caa54a3fbdcf90b68c240b214d59d8befda7c ***
Author: Yao Qi <yao.qi@linaro.org>
Branch: gdb-7.12-branch
Commit: d47caa54a3fbdcf90b68c240b214d59d8befda7c
Remove assert on exec_bfd in cris_delayed_get_disassembler
cris_delayed_get_disassembler has an assert that exec_bfd can't be
NULL, but this assert can be triggered like this,
(gdb) set architecture cris
The target architecture is assumed to be cris
(gdb) disassemble 0x0,+4
Dump of assembler code from 0x0 to 0x4:
0x00000000:
../../binutils-gdb/gdb/cris-tdep.c:3798: internal-error: int cris_delayed_get_disassembler(bfd_vma, disassemble_info*): Assertion `exec_bfd != NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
however, cris_get_disassembler does have code to handle the case that
bfd is NULL,
/* If there's no bfd in sight, we return what is valid as input in all
contexts if fed back to the assembler: disassembly *with* register
prefix. Unfortunately this will be totally wrong for v32. */
if (abfd == NULL)
return print_insn_cris_with_register_prefix;
This patch is to remove this assert.
gdb:
2016-12-12 Yao Qi <yao.qi@linaro.org>
PR tdep/20955
* cris-tdep.c (cris_delayed_get_disassembler): Remove the
assert.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] Create tdep->rx_psw_type and tdep->rx_fpsw_type lazily
@ 2016-12-09 18:16 sergiodj+buildbot
2016-12-09 20:11 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-12-09 18:16 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT fa897675de62473e5c04330c5d5b782cd1ae04e9 ***
Author: Yao Qi <yao.qi@linaro.org>
Branch: gdb-7.12-branch
Commit: fa897675de62473e5c04330c5d5b782cd1ae04e9
Create tdep->rx_psw_type and tdep->rx_fpsw_type lazily
I build GDB with all targets enabled, and "set architecture rx",
GDB crashes,
(gdb) set architecture rx
Program received signal SIGSEGV, Segmentation fault.
append_flags_type_flag (type=0x20cc360, bitpos=bitpos@entry=0, name=name@entry=0xd27529 "C") at ../../binutils-gdb/gdb/gdbtypes.c:4926
4926 name);
(gdb) bt 10
#0 append_flags_type_flag (type=0x20cc360, bitpos=bitpos@entry=0, name=name@entry=0xd27529 "C") at ../../binutils-gdb/gdb/gdbtypes.c:4926
#1 0x00000000004ce725 in rx_gdbarch_init (info=..., arches=<optimized out>) at ../../binutils-gdb/gdb/rx-tdep.c:1051
#2 0x00000000006b05a4 in gdbarch_find_by_info (info=...) at ../../binutils-gdb/gdb/gdbarch.c:5269
#3 0x000000000060eee4 in gdbarch_update_p (info=...) at ../../binutils-gdb/gdb/arch-utils.c:557
#4 0x000000000060f8a8 in set_architecture (ignore_args=<optimized out>, from_tty=1, c=<optimized out>) at ../../binutils-gdb/gdb/arch-utils.c:531
#5 0x0000000000593d0b in do_set_command (arg=<optimized out>, arg@entry=0x20bee81 "rx ", from_tty=from_tty@entry=1, c=c@entry=0x20b1540)
at ../../binutils-gdb/gdb/cli/cli-setshow.c:455
#6 0x00000000007665c3 in execute_command (p=<optimized out>, p@entry=0x20bee70 "set architecture rx ", from_tty=1) at ../../binutils-gdb/gdb/top.c:666
#7 0x00000000006935f4 in command_handler (command=0x20bee70 "set architecture rx ") at ../../binutils-gdb/gdb/event-top.c:577
#8 0x00000000006938d8 in command_line_handler (rl=<optimized out>) at ../../binutils-gdb/gdb/event-top.c:767
#9 0x0000000000692c2c in gdb_rl_callback_handler (rl=0x20be7f0 "") at ../../binutils-gdb/gdb/event-top.c:200
The cause is that we want to access some builtin types in gdbarch init, but
it is not initialized yet. I fix it by creating the type when it is to be
used. We've already done this in sparc, sparc64 and m68k.
gdb:
2016-12-09 Yao Qi <yao.qi@linaro.org>
PR tdep/20954
* rx-tdep.c (rx_psw_type): New function.
(rx_fpsw_type): New function.
(rx_register_type): Call rx_psw_type and rx_fpsw_type.
(rx_gdbarch_init): Move code to rx_psw_type and
rx_fpsw_type.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] sim: mips: fix dv-tx3904cpu build error
@ 2016-11-11 7:48 sergiodj+buildbot
2016-11-11 8:35 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 7:48 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT cd48ce152d6710af146ffc7897a82586513fc534 ***
Author: Mike Frysinger <vapier@gentoo.org>
Branch: gdb-7.12-branch
Commit: cd48ce152d6710af146ffc7897a82586513fc534
sim: mips: fix dv-tx3904cpu build error
When building for mipstx39-rtems4.12 targets, some funcs use SD and CPU
implicitly. Restore the defines for these to the local sd and cpu vars.
This was broken by the clean up in commit d47f5b30d8481272e9480118bdcb.
Reported-by: Joel Sherrill <joel.sherrill@oarcorp.com>
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] Include strings.h where available
@ 2016-10-14 7:58 sergiodj+buildbot
2016-10-14 8:27 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-10-14 7:58 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT 9e7fe25aebc4fe4a2c1af15447b44f50c3c97b2f ***
Author: Eli Zaretskii <eliz@gnu.org>
Branch: gdb-7.12-branch
Commit: 9e7fe25aebc4fe4a2c1af15447b44f50c3c97b2f
Include strings.h where available
gdb/ChangeLog
2016-10-14 Eli Zaretskii <eliz@gnu.org>
* common/common-defs.h [HAVE_STRINGS_H]: Include strings.h if
available, to get prototypes of 'strcasecmp' and 'strncasecmp'.
(cherry picked from commit 8ffc1bb12a22e548835c9291871ad0eb68b7f6f0)
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] frame.h: Forward-declare struct ui_out
@ 2016-10-06 21:39 sergiodj+buildbot
2016-10-06 23:29 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 21:39 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT f2ddf8f6caffc513751ebfb3608c3a453aed5103 ***
Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: gdb-7.12-branch
Commit: f2ddf8f6caffc513751ebfb3608c3a453aed5103
frame.h: Forward-declare struct ui_out
Fixes this failure when building in C mode. I think it's relevant for master
as well, since it's a good practice to include (or forward-declare) what you
use.
In file included from ../../binutils-gdb/gdb/gdbarch.h:38:0,
from ../../binutils-gdb/gdb/defs.h:653,
from ../../binutils-gdb/gdb/dictionary.c:23:
../../binutils-gdb/gdb/frame.h:710:48: warning: struct ui_out declared inside parameter list will not be visible outside of this definition or declaration
extern void print_stack_frame_to_uiout (struct ui_out *uiout,
gdb/ChangeLog:
* frame.h: Forward-declare struct ui_out.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] mips-tdep: Make FCRs always 32-bit
@ 2016-10-06 19:26 sergiodj+buildbot
2016-10-06 22:39 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 19:26 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT 1ce1f6debf17be7a5121efa0684f0ec1449f8fc4 ***
Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: gdb-7.12-branch
Commit: 1ce1f6debf17be7a5121efa0684f0ec1449f8fc4
mips-tdep: Make FCRs always 32-bit
Fix a regression from commit f8b73d13b7ca ("Target-described register
support for MIPS"),
<https://sourceware.org/ml/gdb-patches/2007-05/msg00340.html>,
<https://sourceware.org/ml/gdb-patches/2007-06/msg00256.html>, which
caused Floating Point Control Registers (FCRs) to be shown as 64-bit
with 64-bit targets.
This came from the legacy register format where all raw registers
matched the width of the architecture regardless of their actual size.
The correct size was then set in `mips_register_type' for cooked
registers presented to the user, which in the case of FCRs meant the
cooked size was always forced to 32 bits, reflecting their actual
hardware size, even though the raw format carried them in 64-bit
quantities on 64-bit targets. The upper 32 bits carried in the raw FCR
format have always been don't-cares, not actually retrieved from
hardware and never written back.
With the introduction of XML register descriptions the layout of
previously defined raw registers has been preserved, so as to keep
existing register handling code unchanged and make it easier for GDB and
`gdbserver' to interact with each other whether neither, either or both
parties talking over RSP support XML register descriptions. For the
XML-described case however `mips_register_type' is not used in raw to
cooked register conversion, so any special cases coded there are not
taken into account.
Instead a new function, `mips_pseudo_register_type', has been introduced
to handle size conversion, however lacking the special case for FCRs for
the Linux and the now defunct IRIX target. The correct size has been
maintained for embedded targets however, due to the bundling of FCRs
with the embedded registers under the `rawnum >= MIPS_EMBED_FP0_REGNUM +
32' condition.
Add the missing case to `mips_pseudo_register_type' then, referring to
the FCR indices explicitly, and observing that between
`MIPS_EMBED_FP0_REGNUM + 32' and `MIPS_FIRST_EMBED_REGNUM' there is an
unused register slot whose contents are ignored so with the removal of
embedded FCRs from under that condition we don't have to care about it
and we can refer to the embedded registers starting from
MIPS_FIRST_EMBED_REGNUM instead.
Add a test case too so that we have means to check automatically that
the correct user-visible size of FCRs is maintained.
gdb/
* mips-tdep.c (mips_pseudo_register_type): Make FCRs always
32-bit.
gdb/testsuite/
* gdb.arch/mips-fcr.exp: New test.
* gdb.arch/mips-fcr.c: Source for the new test.
(cherry picked from commit 78b86327b5301231005b08a7c589b2b58e6b4322)
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] mips-tdep: Rearrange comments in `mips_pseudo_register_type'
@ 2016-10-06 19:23 sergiodj+buildbot
2016-10-06 21:48 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 19:23 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT f92cb42932ec343d328f7dbd54d9ca5b542e322e ***
Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: gdb-7.12-branch
Commit: f92cb42932ec343d328f7dbd54d9ca5b542e322e
mips-tdep: Rearrange comments in `mips_pseudo_register_type'
Rearrange comments throughout `mips_pseudo_register_type', placing them
ahead the condtionals they apply to consistently.
gdb/
* mips-tdep.c (mips_pseudo_register_type): Rearrange comments
throughout.
(cherry picked from commit a6912260f813b1493efefd27cbcb6a73d933accc)
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] Fix PR11094: JIT breakpoint is not properly recreated on reruns
@ 2016-10-06 13:29 sergiodj+buildbot
2016-10-06 15:02 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 13:29 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT f8da6fe399c8dafa98e7dbed36d3562a919768f5 ***
Author: Pedro Alves <palves@redhat.com>
Branch: gdb-7.12-branch
Commit: f8da6fe399c8dafa98e7dbed36d3562a919768f5
Fix PR11094: JIT breakpoint is not properly recreated on reruns
Even though this was supposedly in the gdb 7.2 timeframe, the testcase
in PR11094 crashes current GDB with a segfault:
Program received signal SIGSEGV, Segmentation fault.
0x00000000005ee894 in event_location_to_string (location=0x0) at
src/gdb/location.c:412
412 if (EL_STRING (location) == NULL)
(top-gdb) bt
#0 0x00000000005ee894 in event_location_to_string (location=0x0) at
src/gdb/location.c:412
#1 0x000000000057411a in print_breakpoint_location (b=0x18288e0, loc=0x0) at
src/gdb/breakpoint.c:6201
#2 0x000000000057483f in print_one_breakpoint_location (b=0x18288e0,
loc=0x182cf10, loc_number=0, last_loc=0x7fffffffd258, allflag=1)
at src/gdb/breakpoint.c:6473
#3 0x00000000005751e1 in print_one_breakpoint (b=0x18288e0,
last_loc=0x7fffffffd258, allflag=1) at
src/gdb/breakpoint.c:6707
#4 0x000000000057589c in breakpoint_1 (args=0x0, allflag=1, filter=0x0) at
src/gdb/breakpoint.c:6947
#5 0x0000000000575aa8 in maintenance_info_breakpoints (args=0x0, from_tty=0)
at src/gdb/breakpoint.c:7026
[...]
This is GDB trying to print the location spec of the JIT event
breakpoint, but that's an internal breakpoint without one.
If I add a NULL check, then we see that the JIT breakpoint is now
pending (because its location has shlib_disabled set):
(gdb) maint info breakpoints
Num Type Disp Enb Address What
[...]
-8 jit events keep y <PENDING> inf 1
[...]
But that's incorrect. GDB should have managed to recreate the JIT
breakpoint's location for the second run. So the problem is
elsewhere.
The problem is that if the JIT loads at the same address on the second
run, we never recreate the JIT breakpoint, because we hit this early
return:
static int
jit_breakpoint_re_set_internal (struct gdbarch *gdbarch,
struct jit_program_space_data *ps_data)
{
[...]
if (ps_data->cached_code_address == addr)
return 0;
[...]
delete_breakpoint (ps_data->jit_breakpoint);
[...]
ps_data->jit_breakpoint = create_jit_event_breakpoint (gdbarch, addr);
Fix this by deleting the breakpoint and discarding the cached code
address when the objfile where the previous JIT breakpoint was found
is deleted/unloaded in the first place.
The test that was originally added for PR11094 doesn't trip on this
because:
#1 - It doesn't test the case of the JIT descriptor's address _not_
changing between reruns.
#2 - And then it doesn't do "maint info breakpoints", or really
anything with the JIT at all.
#3 - and even then, to trigger the problem the JIT descriptor needs
to be in a separate library, while the current test puts it in
the main program.
The patch extends the test to cover all combinations of these
scenarios.
gdb/ChangeLog:
2016-10-06 Pedro Alves <palves@redhat.com>
* jit.c (free_objfile_data): Delete the JIT breakpoint and clear
the cached code address.
gdb/testsuite/ChangeLog:
2016-10-06 Pedro Alves <palves@redhat.com>
* gdb.base/jit-simple-dl.c: New file.
* gdb.base/jit-simple-jit.c: New file, factored out from ...
* gdb.base/jit-simple.c: ... this.
* gdb.base/jit-simple.exp (jit_run): Delete.
(build_jit): New proc.
(jit_test_reread): Recompile either the main program or the shared
library, depending on what is being tested. Skip changing address
if caller wants to. Compare before/after addresses. If testing
standalone, explicitly load the binary. Test "maint info
breakpoints".
(top level): Add "standalone vs shared lib" and "change address"
vs "same address" axes.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] Introduce cleanup to restore current_uiout
@ 2016-10-03 23:07 sergiodj+buildbot
2016-10-03 23:37 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-10-03 23:07 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT 33de0b1741b1939dd5384e54a858e71d2029a365 ***
Author: Simon Marchi <simark@simark.ca>
Branch: gdb-7.12-branch
Commit: 33de0b1741b1939dd5384e54a858e71d2029a365
Introduce cleanup to restore current_uiout
Make a globally available cleanup from a pre-existing one in infrun.c.
This is used in a following patch.
gdb/ChangeLog:
* infrun.c (restore_current_uiout_cleanup): Move to ui-out.c.
(print_stop_event): Use make_cleanup_restore_current_uiout.
* python/python.c (execute_gdb_command): Likewise.
* ui-out.c (restore_current_uiout_cleanup): Move from infrun.c.
(make_cleanup_restore_current_uiout): New function definition.
* ui-out.h (make_cleanup_restore_current_uiout): New function
declaration.
* utils.c (do_restore_ui_out): Remove.
(make_cleanup_restore_ui_out): Remove.
* utils.h (make_cleanup_restore_ui_out): Remove.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] Detect the magic address of EXC_RETURN in ARM coretx-m profile
@ 2016-09-27 12:20 sergiodj+buildbot
2016-09-27 14:36 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-09-27 12:20 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT 4b48dc411a11fd38b7e5d0e8aeecf1bb1f7b90d8 ***
Author: Fredrik Hederstierna <fredrik.hederstierna@verisure.com>
Branch: gdb-7.12-branch
Commit: 4b48dc411a11fd38b7e5d0e8aeecf1bb1f7b90d8
Detect the magic address of EXC_RETURN in ARM coretx-m profile
On ARMv6-M and ARMv7-M, the exception return address is sort of magic
address defined by the manual. This patch is to let GDB well handle
these magic addresses.
2016-09-27 Fredrik Hederstierna <fredrik.hederstierna@verisure.com>
* arm-tdep.c (arm_m_addr_is_magic): New function.
(arm_addr_bits_remove): Call arm_m_addr_is_magic.
(arm_m_exception_unwind_sniffer): Likewise.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] Introduce make_cleanup_restore_current_ui
@ 2016-09-07 2:09 sergiodj+buildbot
2016-09-07 8:53 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-09-07 2:09 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT 751b0f7dcfee83f60c1224790b9665c92be50fd8 ***
Author: Pedro Alves <palves@redhat.com>
Branch: gdb-7.12-branch
Commit: 751b0f7dcfee83f60c1224790b9665c92be50fd8
Introduce make_cleanup_restore_current_ui
Just a tidy, no functional changes.
gdb/ChangeLog:
2016-09-06 Pedro Alves <palves@redhat.com>
* event-top.c (restore_ui_cleanup): Now static.
(make_cleanup_restore_current_ui): New function.
(switch_thru_all_uis_init): Use it.
* infcall.c (call_thread_fsm_should_stop): Use it.
* infrun.c (fetch_inferior_event): Use it.
* top.c (new_ui_command): Use it.
* top.h (restore_ui_cleanup): Delete declaration.
(make_cleanup_restore_current_ui): New declaration.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] Fix lwp_suspend/unsuspend imbalance in linux_wait_1
@ 2016-09-01 8:54 sergiodj+buildbot
2016-09-01 9:24 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-09-01 8:54 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT 305a161d11c4b5801a0e135fec5d77f3d64f121f ***
Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: gdb-7.12-branch
Commit: 305a161d11c4b5801a0e135fec5d77f3d64f121f
Fix lwp_suspend/unsuspend imbalance in linux_wait_1
This patch fixes imbalanced lwp_suspend/unsuspend calls caused by the
premature choosing of another event for fairness.
select_event_lwp would switch the event before a call to
unsuspend_all_lwps, thus it would be called with the wrong event.
This caused an assertion failure: unsuspend LWP xx, suspended=-1 when
testing gdb.threads/non-stop-fair-events.exp with ARM range stepping in
GDBServer.
This patch moves the switch of event after the unsuspend/unstop calls.
No regressions, tested on ubuntu 14.04 ARMv7 and x86.
With gdbserver-native.
gdb/gdbserver/ChangeLog:
* linux-low.c (linux_wait_1): Move event switch after unsuspend_lwps.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] Sync proc_service definition with GLIBC
@ 2016-08-25 13:07 sergiodj+buildbot
2016-08-25 17:06 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-25 13:07 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT f2f45a7252a4bd977c135cc77536cbc0e9669cf2 ***
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Branch: gdb-7.12-branch
Commit: f2f45a7252a4bd977c135cc77536cbc0e9669cf2
Sync proc_service definition with GLIBC
GLIBC BZ#20311 [1] proc_service.h install patch also remove 'const'
attributes from ps_get_thread_area and comment #15 discuss why to remove
the const attribute (basically since it a callback with the struct
ps_prochandle owned by the client it should be able to modify it if
it the case).
On default build this is not the issue and current g++ does not trigger
any issue with this mismatch declaration. However, on some bootstrap
build configuration where gdbserver is build with gcc instead this
triggers:
error: conflicting types for 'ps_get_thread_area'
This patch fixes it by syncing the declaration with GLIBC.
[1] https://sourceware.org/bugzilla/show_bug.cgi?id=20311
gdb/ChangeLog:
2016-08-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* aarch64-linux-nat.c (ps_get_thread_area): Remove const from
struct ps_prochandle.
* amd64-linux-nat.c (ps_get_thread_area): Likewise.
* arm-linux-nat.c (ps_get_thread_area): Likewise.
* gdb_proc_service.h (ps_get_thread_area): Likewise.
* i386-linux-nat.c (ps_get_thread_area): Likewise.
* m68klinux-nat.c (ps_get_thread_area): Likewise.
* mips-linux-nat.c (ps_get_thread_area): Likewise.
* nat/aarch64-linux.c (aarch64_ps_get_thread_area): Likewise.
* nat/aarch64-linux.h (aarch64_ps_get_thread_area): Likewise.
* xtensa-linux-nat.c (ps_get_thread_area): Likewise.
gdb/gdbserver/ChangeLog:
2016-08-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
PR server/20491
* gdb_proc_service.h (ps_get_thread_area): Remove const from struct
ps_prochandle.
* linux-aarch64-low.c (ps_get_thread_area): Likewise.
* linux-arm-low.c (ps_get_thread_area): Likewise.
* linux-crisv32-low.c (ps_get_thread_area): Likewise.
* linux-m68k-low.c (ps_get_thread_area): Likewise.
* linux-mips-low.c (ps_get_thread_area): Likewise.
* linux-nios2-low.c (ps_get_thread_area): Likewise.
* linux-tic6x-low.c (ps_get_thread_area): Likewise.
* linux-x86-low.c (ps_get_thread_area): Likewise.
* linux-xtensa-low.c (ps_get_thread_area): Likewise.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] Allow resetting an empty inferior-tty
@ 2016-08-24 22:31 sergiodj+buildbot
2016-08-25 1:02 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-24 22:31 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT 2b3eaab2c3eadd12bbd56499c00dca8cefb81552 ***
Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: gdb-7.12-branch
Commit: 2b3eaab2c3eadd12bbd56499c00dca8cefb81552
Allow resetting an empty inferior-tty
This patch allows the user to set the inferior-tty to "empty", in order
to come back to the default behaviour of using the same tty as gdb is
using.
This is already supported in MI (and tested in gdb.mi/mi-basics.exp).
I added a new test, set-inferior-tty.exp, where I test only the setting
and unsetting of the parameter. It would be nice to actually test that
the inferior output properly goes to the separate tty, but that will be
for another day.
gdb/ChangeLog:
* infcmd.c (set_inferior_io_terminal): Set inferior terminal to
NULL if terminal_name is an empty string.
(_initialize_infcmd): Make the argument of "set inferior-tty"
optional, mention it in the help doc.
gdb/doc/ChangeLog:
* gdb.texinfo (Input/Output): Mention possibility to unset
inferior-tty.
gdb/testsuite/ChangeLog:
* gdb.base/set-inferior-tty.exp: New file.
* gdb.base/set-inferior-tty.c: New file.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] x32 Fast tracepoints: Customize jump pad address
@ 2016-08-24 1:34 sergiodj+buildbot
2016-08-24 1:54 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-24 1:34 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT 69389fd9fba29ab078f63d366612028fd1de25ab ***
Author: Pedro Alves <palves@redhat.com>
Branch: gdb-7.12-branch
Commit: 69389fd9fba29ab078f63d366612028fd1de25ab
x32 Fast tracepoints: Customize jump pad address
MAP_32BIT is ignored on x32, meaning the jump pad can end up somewhere
between 2GB and 4GB, too far away from the executable for 5-byte
relative jumps (JMP rel32). So on x32, try explicitly placing the
jump pad near the middle of the available address space.
gdb/gdbserver/ChangeLog:
2016-08-23 Pedro Alves <palves@redhat.com>
* linux-amd64-ipa.c (alloc_jump_pad_buffer) [__ILP32__]: Try
allocating around 0x80000000.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] [GDB] Fix builds broken by proc-service changes.
@ 2016-08-15 21:31 sergiodj+buildbot
2016-08-16 13:28 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-15 21:31 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT 2e9ffae9c70279ba7b226b9bf5f2f9b20968375c ***
Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: gdb-7.12-branch
Commit: 2e9ffae9c70279ba7b226b9bf5f2f9b20968375c
[GDB] Fix builds broken by proc-service changes.
GLIBC BZ#20311 introduced a change to install proc_service.h so that gdb
didn't have to use the version it embeds in gdb_proc_service.h. The
embedded version is guarded by HAVE_PROC_SERVICE_H and
gdb_proc_service.h has a number other of includes and definitions, all
of which are uncondional except for an include for gregset.h. This is
only included if HAVE_PROC_SERIVCE_H is not defined.
This causes a build failure when cross compiling gdb with the latest
glibc because type definitions in gregset are used independently of
HAVE_PROC_SERIVCE_H. In particular, they are used in gdb_proc_service.h
when PRFPREGSET_T_BROKEN is set.
The error messages on the failure are
----
binutils-gdb/gdb/gdb_proc_service.h:173:9: error: gdb_fpregset_t does
not name a type; did you mean elf_fpregset_t?
typedef gdb_fpregset_t gdb_prfpregset_t;
^~~~~~~~~~~~~~
elf_fpregset_t
binutils-gdb/gdb/gdb_proc_service.h:173:9: error: gdb_fpregset_t does
not name a type; did you mean elf_fpregset_t?
typedef gdb_fpregset_t gdb_prfpregset_t;
^~~~~~~~~~~~~~
elf_fpregset_t
binutils-gdb/gdb/proc-service.c:218:15: error: gdb_prfpregset_t does
not name a type; did you mean gdb_fpregset_t?
const gdb_prfpregset_t *fpregset)
^~~~~~~~~~~~~~~~
gdb_fpregset_t
----
This patch moves the include for gregset.h to before the code guarded by
HAVE_PROC_SERIVCE_H, so that it is always included. This is enough to
fix the build.
2016-08-15 Matthew Wahab <matthew.wahab@arm.com>
PR gdb/20457
* gdb_proc_service.h: Add an include of gregset.h
[!HAVE_PROC_SERVICE_H]: Remove the include of gregset.h.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] Fix heap-buffer-overflow in explicit_location_lex_one
@ 2016-08-15 15:08 sergiodj+buildbot
2016-08-15 16:41 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-15 15:08 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT 23d4200c35e9325436f8bb3f9382dd5e4847a21f ***
Author: Yao Qi <yao.qi@linaro.org>
Branch: gdb-7.12-branch
Commit: 23d4200c35e9325436f8bb3f9382dd5e4847a21f
Fix heap-buffer-overflow in explicit_location_lex_one
I build GDB with -fsanitize=address, and see the error in tests,
(gdb) PASS: gdb.linespec/ls-errs.exp: lang=C++: break 3 foo
break -line 3 foo^M
=================================================================^M
==4401==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x603000047487 at pc 0x819d8e bp 0x7fff4e4e6bb0 sp 0x7fff4e4e6ba8^M
READ of size 1 at 0x603000047487 thread T0^[[1m^[[0m^M
#0 0x819d8d in explicit_location_lex_one /home/yao/SourceCode/gnu/gdb/git/gdb/location.c:502^M
#1 0x81a185 in string_to_explicit_location(char const**, language_defn const*, int) /home/yao/SourceCode/gnu/gdb/git/gdb/location.c:556^M
#2 0x81ac10 in string_to_event_location(char**, language_defn const*) /home/yao/SourceCode/gnu/gdb/git/gdb/location.c:687^
the code in question is:
> /* Special case: C++ operator,. */
> if (language->la_language == language_cplus
> && strncmp (*inp, "operator", 8) <--- [1]
> && (*inp)[9] == ',')
> (*inp) += 9;
> ++(*inp);
The error is caused by the access to (*inp)[9] if 9 is out of its bounds.
However [1] looks odd to me, because if strncmp returns true (non-zero),
the following check "(*inp)[9] == ','" makes no sense any more. I
suspect it was a typo in the code we meant to "strncmp () == 0". Another
problem in the code above is that if *inp is "operator,", we first
increment *inp by 9, and then increment it by one again, which is wrong
to me. We should only increment *inp by 8 to skip "operator", and go
back to the loop header to decide where we stop.
gdb:
2016-08-15 Yao Qi <yao.qi@linaro.org>
* location.c (explicit_location_lex_one): Compare the return
value of strncmp with zero. Don't check (*inp)[9]. Increment
*inp by 8.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] sim: bfin: split out common mach/model defines into arch.h [PR sim/20438]
@ 2016-08-14 2:03 sergiodj+buildbot
2016-08-14 6:44 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-14 2:03 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT 253daf2f8e1d136d8bfd591d711e63832f507235 ***
Author: Mike Frysinger <vapier@gentoo.org>
Branch: gdb-7.12-branch
Commit: 253daf2f8e1d136d8bfd591d711e63832f507235
sim: bfin: split out common mach/model defines into arch.h [PR sim/20438]
The current machs.h mixes common enums with Blackfin-specific defines.
This causes us troubles with header inclusion order such that we can't
drop the old SIM_CPU typedef (which is duplicated in common code). By
splitting the two up, we can unwind this dependency chain, and drop the
old typedef. It also fixes building with older gcc versions.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] Fix PR gdb/18653: gdb disturbs inferior's inherited signal dispositions
@ 2016-08-09 22:55 sergiodj+buildbot
2016-08-12 0:47 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-09 22:55 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT 35fcb4fc81e51295d14125785765e0ea3e132cd9 ***
Author: Pedro Alves <palves@redhat.com>
Branch: gdb-7.12-branch
Commit: 35fcb4fc81e51295d14125785765e0ea3e132cd9
Fix PR gdb/18653: gdb disturbs inferior's inherited signal dispositions
gdb's (or gdbserver's) own signal handling should not interfere with
the signal dispositions their spawned children inherit. However, it
currently does. For example, some paths in gdb cause SIGPIPE to be
set to SIG_IGN, and as consequence, the child starts with SIGPIPE to
set to SIG_IGN too, even though gdb was started with SIGPIPE set to
SIG_DFL.
This is because the exec family of functions does not reset the signal
disposition of signals that are set to SIG_IGN:
http://pubs.opengroup.org/onlinepubs/7908799/xsh/execve.html
Signals set to the default action (SIG_DFL) in the calling process
image are set to the default action in the new process
image. Signals set to be ignored (SIG_IGN) by the calling process
image are set to be ignored by the new process image. Signals set to
be caught by the calling process image are set to the default action
in the new process image (see <signal.h>).
And neither does it reset signal masks or flags.
In order to be transparent, when spawning new child processes to debug
(with "run", etc.), reset signal actions and mask back to what was
originally inherited from gdb/gdbserver's parent, just before execing
the target program to debug.
gdb/ChangeLog:
2016-08-09 Pedro Alves <palves@redhat.com>
PR gdb/18653
* Makefile.in (SFILES): Add
common/signals-state-save-restore.c.
(HFILES_NO_SRCDIR): Add common/signals-state-save-restore.h.
(COMMON_OBS): Add signals-state-save-restore.o.
(signals-state-save-restore.o): New rule.
* configure: Regenerate.
* fork-child.c: Include "signals-state-save-restore.h".
(fork_inferior): Call restore_original_signals_state.
* main.c: Include "signals-state-save-restore.h".
(captured_main): Call save_original_signals_state.
* common/common.m4: Add sigaction to AC_CHECK_FUNCS checks.
* common/signals-state-save-restore.c: New file.
* common/signals-state-save-restore.h: New file.
gdb/gdbserver/ChangeLog:
2016-08-09 Pedro Alves <palves@redhat.com>
PR gdb/18653
* Makefile.in (OBS): Add signals-state-save-restore.o.
(signals-state-save-restore.o): New rule.
* config.in: Regenerate.
* configure: Regenerate.
* linux-low.c: Include "signals-state-save-restore.h".
(linux_create_inferior): Call
restore_original_signals_state.
* server.c: Include "dispositions-save-restore.h".
(captured_main): Call save_original_signals_state.
gdb/testsuite/ChangeLog:
2016-08-09 Pedro Alves <palves@redhat.com>
PR gdb/18653
* gdb.base/signals-state-child.c: New file.
* gdb.base/signals-state-child.exp: New file.
* gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] Fix PR gdb/20295: GDB segfaults printing bitfield member of optimized out value
@ 2016-08-09 15:04 sergiodj+buildbot
2016-08-11 11:53 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-09 15:04 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT def1145e5b736f7b50179a967d83211251153692 ***
Author: Pedro Alves <palves@redhat.com>
Branch: gdb-7.12-branch
Commit: def1145e5b736f7b50179a967d83211251153692
Fix PR gdb/20295: GDB segfaults printing bitfield member of optimized out value
With something like:
struct A { int bitfield:4; } var;
If 'var' ends up wholly-optimized out, printing 'var.bitfield' crashes
gdb here:
(top-gdb) bt
#0 0x000000000058b89f in extract_unsigned_integer (addr=0x2 <error: Cannot access memory at address 0x2>, len=2, byte_order=BFD_ENDIAN_LITTLE)
at /home/pedro/gdb/mygit/src/gdb/findvar.c:109
#1 0x00000000005a187a in unpack_bits_as_long (field_type=0x16cff70, valaddr=0x0, bitpos=16, bitsize=12) at /home/pedro/gdb/mygit/src/gdb/value.c:3347
#2 0x00000000005a1b9d in unpack_value_bitfield (dest_val=0x1b5d9d0, bitpos=16, bitsize=12, valaddr=0x0, embedded_offset=0, val=0x1b5d8d0)
at /home/pedro/gdb/mygit/src/gdb/value.c:3441
#3 0x00000000005a2a5f in value_fetch_lazy (val=0x1b5d9d0) at /home/pedro/gdb/mygit/src/gdb/value.c:3958
#4 0x00000000005a10a7 in value_primitive_field (arg1=0x1b5d8d0, offset=0, fieldno=0, arg_type=0x16d04c0) at /home/pedro/gdb/mygit/src/gdb/value.c:3161
#5 0x00000000005b01e5 in do_search_struct_field (name=0x1727c60 "bitfield", arg1=0x1b5d8d0, offset=0, type=0x16d04c0, looking_for_baseclass=0, result_ptr=0x7fffffffcaf8,
[...]
unpack_value_bitfield is already optimized-out/unavailable -aware:
(...) VALADDR points to the contents of VAL. If the VAL's contents
required to extract the bitfield from are unavailable/optimized
out, DEST_VAL is correspondingly marked unavailable/optimized out.
however, it is not considering the case of the value having no
contents buffer at all, as can happen through
allocate_optimized_out_value.
gdb/ChangeLog:
2016-08-09 Pedro Alves <palves@redhat.com>
* value.c (unpack_value_bitfield): Skip unpacking if the parent
has no contents buffer to begin with.
gdb/testsuite/ChangeLog:
2016-08-09 Pedro Alves <palves@redhat.com>
* gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] Fix PR remote/20398: File-IO write always outputs "Quit"
@ 2016-08-05 19:41 sergiodj+buildbot
2016-08-11 0:40 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-05 19:41 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT 26fdfd0a18cf9032183a498a6c68b16f5042b1a4 ***
Author: Pedro Alves <palves@redhat.com>
Branch: gdb-7.12-branch
Commit: 26fdfd0a18cf9032183a498a6c68b16f5042b1a4
Fix PR remote/20398: File-IO write always outputs "Quit"
Commit bb7c96deb1a1 ("gdb/remote-fileio.c: Eliminate custom SIGINT
signal handler") regressed the File-IO support.
Failed output:
(gdb) target remote :8888
Remote debugging using :8888
0x00008098 in _start ()
(gdb) c
Continuing.
Quit
Quit
Quit
Quit
Quit
Quit
Quit
Quit
Quit
Quit
Quit
[Inferior 1 (Remote target) exited normally]
Expected output:
(gdb) target remote :8888
Remote debugging using :8888
0x00008098 in _start ()
(gdb) c
Continuing.
i: 0
i: 1
i: 2
i: 3
i: 4
i: 5
i: 6
i: 7
i: 8
i: 9
[Inferior 1 (Remote target) exited normally]
The problem that the new File-IO quit handler forgets to check the
quit flag before calling throwing a quit.
gdb/ChangeLog:
2016-08-05 Pedro Alves <palves@redhat.com>
PR remote/20398
* remote-fileio.c (remote_fileio_quit_handler): Check the quit
flag before calling quit.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] gdb/configure --help: suggest --disable-build-with-cxx instead of --enable...
@ 2016-08-05 17:24 sergiodj+buildbot
2016-08-11 0:35 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-05 17:24 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT 2b8c86008c05d4ca21971fe4f680288cd28108c1 ***
Author: Pedro Alves <palves@redhat.com>
Branch: gdb-7.12-branch
Commit: 2b8c86008c05d4ca21971fe4f680288cd28108c1
gdb/configure --help: suggest --disable-build-with-cxx instead of --enable...
We build by default with a C++ compiler, but "configure --help" still
says "--enable-build-with-cxx", which hints that it is by default
disabled. Update the --help text.
gdb/ChangeLog:
2016-08-05 Pedro Alves <palves@redhat.com>
* build-with-cxx.m4: Change help string to be in terms of
--disable-build-with-cxx.
* configure: Regenerate.
gdb/gdbserver/ChangeLog:
2016-08-05 Pedro Alves <palves@redhat.com>
* configure: Regenerate.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [binutils-gdb/gdb-7.12-branch] Set development mode to "off" by default.
@ 2016-08-01 16:47 sergiodj+buildbot
2016-08-10 0:36 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
0 siblings, 1 reply; 39+ messages in thread
From: sergiodj+buildbot @ 2016-08-01 16:47 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT b5346540576559e0ec59b61962eacfa17fc395df ***
Author: Joel Brobecker <brobecker@adacore.com>
Branch: gdb-7.12-branch
Commit: b5346540576559e0ec59b61962eacfa17fc395df
Set development mode to "off" by default.
bfd/ChangeLog:
* development.sh (development): Set to false.
^ permalink raw reply [flat|nested] 39+ messages in thread
end of thread, other threads:[~2016-12-12 13:09 UTC | newest]
Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-23 8:36 [binutils-gdb/gdb-7.12-branch] Fix PR gdb/20505 - Make vDSO detection work with core files sergiodj+buildbot
2016-08-23 8:23 ` Failures on Fedora-x86_64-native-gdbserver-m32, branch gdb-7.12-branch sergiodj+buildbot
2016-08-23 9:00 ` Failures on Debian-s390x-native-gdbserver-m64, " sergiodj+buildbot
2016-08-23 9:01 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj+buildbot
2016-08-23 9:53 ` Failures on Ubuntu-AArch64-m64, " sergiodj+buildbot
2016-08-23 10:05 ` Failures on Debian-i686, " sergiodj+buildbot
2016-08-23 10:08 ` Failures on Fedora-i686, " sergiodj+buildbot
2016-08-23 10:20 ` Failures on Fedora-x86_64-m32, " sergiodj+buildbot
2016-08-23 10:20 ` Failures on Debian-s390x-m64, " sergiodj+buildbot
2016-08-23 11:02 ` Failures on Debian-s390x-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-08-23 11:08 ` Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot
2016-08-23 11:19 ` Failures on Fedora-x86_64-m64, " sergiodj+buildbot
2016-08-23 11:40 ` Failures on Fedora-ppc64be-m64, " sergiodj+buildbot
2016-08-23 12:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, " sergiodj+buildbot
2016-08-23 12:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-08-23 12:46 ` Failures on Fedora-ppc64le-native-gdbserver-m64, " sergiodj+buildbot
-- strict thread matches above, loose matches on Subject: below --
2016-12-12 11:35 [binutils-gdb/gdb-7.12-branch] Remove assert on exec_bfd in cris_delayed_get_disassembler sergiodj+buildbot
2016-12-12 13:33 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
2016-12-09 18:16 [binutils-gdb/gdb-7.12-branch] Create tdep->rx_psw_type and tdep->rx_fpsw_type lazily sergiodj+buildbot
2016-12-09 20:11 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
2016-11-11 7:48 [binutils-gdb/gdb-7.12-branch] sim: mips: fix dv-tx3904cpu build error sergiodj+buildbot
2016-11-11 8:35 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
2016-10-14 7:58 [binutils-gdb/gdb-7.12-branch] Include strings.h where available sergiodj+buildbot
2016-10-14 8:27 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
2016-10-06 21:39 [binutils-gdb/gdb-7.12-branch] frame.h: Forward-declare struct ui_out sergiodj+buildbot
2016-10-06 23:29 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
2016-10-06 19:26 [binutils-gdb/gdb-7.12-branch] mips-tdep: Make FCRs always 32-bit sergiodj+buildbot
2016-10-06 22:39 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
2016-10-06 19:23 [binutils-gdb/gdb-7.12-branch] mips-tdep: Rearrange comments in `mips_pseudo_register_type' sergiodj+buildbot
2016-10-06 21:48 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
2016-10-06 13:29 [binutils-gdb/gdb-7.12-branch] Fix PR11094: JIT breakpoint is not properly recreated on reruns sergiodj+buildbot
2016-10-06 15:02 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
2016-10-03 23:07 [binutils-gdb/gdb-7.12-branch] Introduce cleanup to restore current_uiout sergiodj+buildbot
2016-10-03 23:37 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
2016-09-27 12:20 [binutils-gdb/gdb-7.12-branch] Detect the magic address of EXC_RETURN in ARM coretx-m profile sergiodj+buildbot
2016-09-27 14:36 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
2016-09-07 2:09 [binutils-gdb/gdb-7.12-branch] Introduce make_cleanup_restore_current_ui sergiodj+buildbot
2016-09-07 8:53 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
2016-09-01 8:54 [binutils-gdb/gdb-7.12-branch] Fix lwp_suspend/unsuspend imbalance in linux_wait_1 sergiodj+buildbot
2016-09-01 9:24 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
2016-08-25 13:07 [binutils-gdb/gdb-7.12-branch] Sync proc_service definition with GLIBC sergiodj+buildbot
2016-08-25 17:06 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
2016-08-24 22:31 [binutils-gdb/gdb-7.12-branch] Allow resetting an empty inferior-tty sergiodj+buildbot
2016-08-25 1:02 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
2016-08-24 1:34 [binutils-gdb/gdb-7.12-branch] x32 Fast tracepoints: Customize jump pad address sergiodj+buildbot
2016-08-24 1:54 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
2016-08-15 21:31 [binutils-gdb/gdb-7.12-branch] [GDB] Fix builds broken by proc-service changes sergiodj+buildbot
2016-08-16 13:28 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
2016-08-15 15:08 [binutils-gdb/gdb-7.12-branch] Fix heap-buffer-overflow in explicit_location_lex_one sergiodj+buildbot
2016-08-15 16:41 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
2016-08-14 2:03 [binutils-gdb/gdb-7.12-branch] sim: bfin: split out common mach/model defines into arch.h [PR sim/20438] sergiodj+buildbot
2016-08-14 6:44 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
2016-08-09 22:55 [binutils-gdb/gdb-7.12-branch] Fix PR gdb/18653: gdb disturbs inferior's inherited signal dispositions sergiodj+buildbot
2016-08-12 0:47 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
2016-08-09 15:04 [binutils-gdb/gdb-7.12-branch] Fix PR gdb/20295: GDB segfaults printing bitfield member of optimized out value sergiodj+buildbot
2016-08-11 11:53 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
2016-08-05 19:41 [binutils-gdb/gdb-7.12-branch] Fix PR remote/20398: File-IO write always outputs "Quit" sergiodj+buildbot
2016-08-11 0:40 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
2016-08-05 17:24 [binutils-gdb/gdb-7.12-branch] gdb/configure --help: suggest --disable-build-with-cxx instead of --enable sergiodj+buildbot
2016-08-11 0:35 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+buildbot
2016-08-01 16:47 [binutils-gdb/gdb-7.12-branch] Set development mode to "off" by default sergiodj+buildbot
2016-08-10 0:36 ` Failures on Ubuntu-AArch64-m64, branch gdb-7.12-branch sergiodj+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).