aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.reverse
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2023-08-29 12:19:02 -0400
committerSimon Marchi <simon.marchi@efficios.com>2023-08-29 13:44:01 -0400
commit4fd1ba162ed6f197169d2af29f4230d7a89e2636 (patch)
treef7275dc70e3aef57cb497d2322de2b11d18d4404 /gdb/testsuite/gdb.reverse
parent8468e03688622f265529699e2efd355a4c122cc6 (diff)
downloadgdb-4fd1ba162ed6f197169d2af29f4230d7a89e2636.zip
gdb-4fd1ba162ed6f197169d2af29f4230d7a89e2636.tar.gz
gdb-4fd1ba162ed6f197169d2af29f4230d7a89e2636.tar.bz2
gdb/testsuite: recognize one more unsupported instruction in gdb.reverse/step-precsave.exp
When running this test on a processor that supports AVX512 (AMD EPYC 9634) on Debian 12 bookwork (system compiler is gcc 12.2.0), I see: continue^M Continuing.^M Process record does not support instruction bound.^M Process record does not support instruction 0x62 at address 0x7ffff7f49b40.^M Process record: failed to record execution log.^M ^M Program stopped.^M 0x00007ffff7f49b40 in ?? () from /lib/x86_64-linux-gnu/libc.so.6^M (gdb) FAIL: gdb.reverse/step-precsave.exp: run to end of main The instruction at this address is: 0x00007ffff7f49b40: 62 e2 7d 48 7a c6 vpbroadcastb %esi,%zmm16 This seems like an AVX512 instruction (given the use of zmm16). Match this byte value in order to produce a KFAIL. Change-Id: I1d20357fa538ba60b9c537160acf511a37d751ee Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30807 Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/testsuite/gdb.reverse')
-rw-r--r--gdb/testsuite/gdb.reverse/step-precsave.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.reverse/step-precsave.exp b/gdb/testsuite/gdb.reverse/step-precsave.exp
index e297162..ca0e848 100644
--- a/gdb/testsuite/gdb.reverse/step-precsave.exp
+++ b/gdb/testsuite/gdb.reverse/step-precsave.exp
@@ -52,6 +52,9 @@ with_timeout_factor 20 {
-re -wrap "Process record does not support instruction 0xfae64 at.*" {
kfail "record/25038" $gdb_test_name
}
+ -re -wrap "Process record does not support instruction 0x62 at.*" {
+ kfail "record/30807" $gdb_test_name
+ }
}
}