- Patches removed:
* gdb-testsuite-debug-gdb.arch-i386-sse.exp.patch OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=311
This commit is contained in:
parent
56be17f429
commit
419ccec8eb
@ -1,47 +0,0 @@
|
||||
[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\\}\\}.*" \
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 22 19:40:55 UTC 2021 - Tom de Vries <tdevries@suse.com>
|
||||
|
||||
- Patches removed:
|
||||
* gdb-testsuite-debug-gdb.arch-i386-sse.exp.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 22 17:47:57 UTC 2021 - Tom de Vries <tdevries@suse.com>
|
||||
|
||||
|
3
gdb.spec
3
gdb.spec
@ -279,8 +279,6 @@ Patch1101: gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
|
||||
Patch1102: gdb-testsuite-fix-gdb-server-ext-run-exp-for-obs.patch
|
||||
# Tests the zypper install hints.
|
||||
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
|
||||
|
||||
@ -746,7 +744,6 @@ find -name "*.info*"|xargs rm -f
|
||||
%patch1101 -p1
|
||||
%patch1102 -p1
|
||||
%patch1103 -p1
|
||||
%patch1104 -p1
|
||||
|
||||
%patch1500 -p1
|
||||
%patch1501 -p1
|
||||
|
Loading…
x
Reference in New Issue
Block a user