From: Tom de Vries Date: Mon, 10 Nov 2025 14:27:30 +0000 (+0100) Subject: [gdb/testsuite] Drop address from test name in gdb.arch/amd64-shadow-stack-corefile.exp X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c50362625b57baed166a4628f7a9be0857a8196;p=thirdparty%2Fbinutils-gdb.git [gdb/testsuite] Drop address from test name in gdb.arch/amd64-shadow-stack-corefile.exp I ran the testsuite twice, compare the two sum files, and got for test-case gdb.arch/amd64-shadow-stack-corefile.exp: ... 3077c3077 < PASS: $exp: OS corefile: pl3_ssp contents from core file 0x7f7a38 3fffe0 --- > PASS: $exp: OS corefile: pl3_ssp contents from core file 0x7f179e ... Fix this by dropping the address from the test name. Tested on x86_64-linux. --- diff --git a/gdb/testsuite/gdb.arch/amd64-shadow-stack-corefile.exp b/gdb/testsuite/gdb.arch/amd64-shadow-stack-corefile.exp index 82d68da6764..ca476a0a02c 100644 --- a/gdb/testsuite/gdb.arch/amd64-shadow-stack-corefile.exp +++ b/gdb/testsuite/gdb.arch/amd64-shadow-stack-corefile.exp @@ -38,7 +38,7 @@ proc check_core_file {core_filename saved_pl3_ssp} { # Check the value of ssp in the core file. gdb_test "print/x \$pl3_ssp" "\\$\[0-9\]+ = $saved_pl3_ssp" \ - "pl3_ssp contents from core file $saved_pl3_ssp" + "pl3_ssp contents from core file" } save_vars { ::env(GLIBC_TUNABLES) } {