- Maintenance script qa.sh:
- Add KFAIL. - Patches updated (increase sleep time): * gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch - Patches added (debug hard to reproduce failure): * gdb-testsuite-debug-gdb.arch-i386-sse.exp.patch OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=305
This commit is contained in:
parent
ec4aca9abe
commit
fb3f526245
47
gdb-testsuite-debug-gdb.arch-i386-sse.exp.patch
Normal file
47
gdb-testsuite-debug-gdb.arch-i386-sse.exp.patch
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
[gdb/testsuite] Debug gdb.arch/i386-sse.exp
|
||||||
|
|
||||||
|
There's a failure filed at PR28504 - "FAIL: gdb.arch/i386-sse.exp: check
|
||||||
|
contents of data[2]" that sofar hasn't been reproduced outside OBS.
|
||||||
|
|
||||||
|
This patch adds printing of more info to help make sense of it.
|
||||||
|
|
||||||
|
---
|
||||||
|
gdb/testsuite/gdb.arch/i386-sse.exp | 11 +++++++++++
|
||||||
|
1 file changed, 11 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/gdb/testsuite/gdb.arch/i386-sse.exp b/gdb/testsuite/gdb.arch/i386-sse.exp
|
||||||
|
index fca90256505..4b434abe904 100644
|
||||||
|
--- a/gdb/testsuite/gdb.arch/i386-sse.exp
|
||||||
|
+++ b/gdb/testsuite/gdb.arch/i386-sse.exp
|
||||||
|
@@ -75,6 +75,9 @@ if [is_amd64_regs_target] {
|
||||||
|
set nr_regs 8
|
||||||
|
}
|
||||||
|
|
||||||
|
+gdb_test_no_output "set debug arch 1"
|
||||||
|
+gdb_test_no_output "set debug target 1"
|
||||||
|
+
|
||||||
|
for { set r 0 } { $r < $nr_regs } { incr r } {
|
||||||
|
gdb_test "print \$xmm$r.v4_float" \
|
||||||
|
".. = \\{$r, $r.25, $r.5, $r.75\\}.*" \
|
||||||
|
@@ -86,6 +89,9 @@ for { set r 0 } { $r < $nr_regs } { incr r } {
|
||||||
|
|
||||||
|
for { set r 0 } { $r < $nr_regs } { incr r } {
|
||||||
|
gdb_test "set var \$xmm$r.v4_float\[0\] = $r + 10" "" "set %xmm$r"
|
||||||
|
+ gdb_test "print \$xmm$r.v4_float" \
|
||||||
|
+ ".. = \\{[expr $r + 10], $r.25, $r.5, $r.75\\}.*" \
|
||||||
|
+ "check float contents of %xmm$r after add"
|
||||||
|
}
|
||||||
|
|
||||||
|
gdb_test "break [gdb_get_line_number "second breakpoint here"]" \
|
||||||
|
@@ -93,6 +99,11 @@ gdb_test "break [gdb_get_line_number "second breakpoint here"]" \
|
||||||
|
"set second breakpoint in main"
|
||||||
|
gdb_continue_to_breakpoint "continue to second breakpoint in main"
|
||||||
|
|
||||||
|
+for { set r 0 } { $r < $nr_regs } { incr r } {
|
||||||
|
+ gdb_test "print \$xmm$r.v4_float" \
|
||||||
|
+ ".. = \\{[expr $r + 10], $r.25, $r.5, $r.75\\}.*" \
|
||||||
|
+ "check float contents of %xmm$r at second breakpoint"
|
||||||
|
+}
|
||||||
|
for { set r 0 } { $r < $nr_regs } { incr r } {
|
||||||
|
gdb_test "print data\[$r\]" \
|
||||||
|
".. = \\{f = \\{[expr $r + 10], $r.25, $r.5, $r.75\\}\\}.*" \
|
@ -53,7 +53,7 @@ index 27718551188..d6fba07b486 100644
|
|||||||
}
|
}
|
||||||
+ if { $interrupted == 0 } {
|
+ if { $interrupted == 0 } {
|
||||||
+ while { $running_count < $running_expected } {
|
+ while { $running_count < $running_expected } {
|
||||||
+ sleep 1
|
+ sleep 10
|
||||||
+ set prev_running_count $running_count
|
+ set prev_running_count $running_count
|
||||||
+ set running_count 0
|
+ set running_count 0
|
||||||
+ gdb_test_multiple "info threads" "threads running" {
|
+ gdb_test_multiple "info threads" "threads running" {
|
||||||
|
10
gdb.changes
10
gdb.changes
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 18 14:01:30 UTC 2021 - Tom de Vries <tdevries@suse.com>
|
||||||
|
|
||||||
|
- Maintenance script qa.sh:
|
||||||
|
- Add KFAIL.
|
||||||
|
- Patches updated (increase sleep time):
|
||||||
|
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
|
||||||
|
- Patches added (debug hard to reproduce failure):
|
||||||
|
* gdb-testsuite-debug-gdb.arch-i386-sse.exp.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 18 11:45:00 UTC 2021 - Tom de Vries <tdevries@suse.com>
|
Thu Nov 18 11:45:00 UTC 2021 - Tom de Vries <tdevries@suse.com>
|
||||||
|
|
||||||
|
4
gdb.spec
4
gdb.spec
@ -279,6 +279,8 @@ Patch1101: gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
|
|||||||
Patch1102: gdb-testsuite-fix-gdb-server-ext-run-exp-for-obs.patch
|
Patch1102: gdb-testsuite-fix-gdb-server-ext-run-exp-for-obs.patch
|
||||||
# Tests the zypper install hints.
|
# Tests the zypper install hints.
|
||||||
Patch1103: gdb-testsuite-add-gdb.suse-zypper-hint.exp.patch
|
Patch1103: gdb-testsuite-add-gdb.suse-zypper-hint.exp.patch
|
||||||
|
# Add debug prints to test-case gdb.arch/i386-sse.exp.
|
||||||
|
Patch1104: gdb-testsuite-debug-gdb.arch-i386-sse.exp.patch
|
||||||
|
|
||||||
# Patches to upstream
|
# Patches to upstream
|
||||||
|
|
||||||
@ -384,6 +386,7 @@ Patch2116: gdb-testsuite-fix-fail-in-gdb.tui-basic.exp.patch
|
|||||||
Patch2117: gdb-testsuite-disable-inferior-output-in-gdb.base-foll-vfork.exp.patch
|
Patch2117: gdb-testsuite-disable-inferior-output-in-gdb.base-foll-vfork.exp.patch
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
%if 0%{suse_version} > 1110
|
%if 0%{suse_version} > 1110
|
||||||
@ -747,6 +750,7 @@ find -name "*.info*"|xargs rm -f
|
|||||||
%patch1101 -p1
|
%patch1101 -p1
|
||||||
%patch1102 -p1
|
%patch1102 -p1
|
||||||
%patch1103 -p1
|
%patch1103 -p1
|
||||||
|
%patch1104 -p1
|
||||||
|
|
||||||
%patch1500 -p1
|
%patch1500 -p1
|
||||||
%patch1501 -p1
|
%patch1501 -p1
|
||||||
|
1
qa.sh
1
qa.sh
@ -121,6 +121,7 @@ kfail=(
|
|||||||
"FAIL: gdb.mi/mi-nonstop.exp: wait for thread exit \(timeout\)"
|
"FAIL: gdb.mi/mi-nonstop.exp: wait for thread exit \(timeout\)"
|
||||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=26273
|
# https://sourceware.org/bugzilla/show_bug.cgi?id=26273
|
||||||
"FAIL: gdb.threads/gcore-stale-thread.exp: save a corefile"
|
"FAIL: gdb.threads/gcore-stale-thread.exp: save a corefile"
|
||||||
|
"FAIL: gdb.threads/gcore-stale-thread.exp: exited thread is current due to non-stop"
|
||||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=28467
|
# https://sourceware.org/bugzilla/show_bug.cgi?id=28467
|
||||||
# -pie, x86_64 -m32 or i586.
|
# -pie, x86_64 -m32 or i586.
|
||||||
"FAIL: gdb.base/nodebug.exp: p/c \(int\) array_index\(\"abcdef\",2\)"
|
"FAIL: gdb.base/nodebug.exp: p/c \(int\) array_index\(\"abcdef\",2\)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user