aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2024-03-29 14:07:47 +0000
committerAndrew Burgess <aburgess@redhat.com>2024-03-29 14:07:47 +0000
commit43f8b6e2578a76fd96bf08172b2ea6fdcaf6c2e4 (patch)
treef396665edd04af98f4acd7a7be2be605426802f1
parent221918140b0b4a52674491d7ab4487da02d063a7 (diff)
downloadbinutils-43f8b6e2578a76fd96bf08172b2ea6fdcaf6c2e4.zip
binutils-43f8b6e2578a76fd96bf08172b2ea6fdcaf6c2e4.tar.gz
binutils-43f8b6e2578a76fd96bf08172b2ea6fdcaf6c2e4.tar.bz2
gdb/testsuite: avoid $pc/$sp values in test names
Provide an explicit name for a test in gdb.base/pc-not-saved.exp to avoid printing $pc and $sp values in the test name -- these values might change between different test runs, which makes it harder to compare test results. There is no change in what is actually being tested with this commit.
-rw-r--r--gdb/testsuite/gdb.base/pc-not-saved.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/pc-not-saved.exp b/gdb/testsuite/gdb.base/pc-not-saved.exp
index f267a26..5f22568 100644
--- a/gdb/testsuite/gdb.base/pc-not-saved.exp
+++ b/gdb/testsuite/gdb.base/pc-not-saved.exp
@@ -64,7 +64,8 @@ clean_restart $binfile
gdb_test_no_output "source ${remote_python_file}" "load python file"
# Tell the Python unwinder to use the frame-id we cached above.
-gdb_test_no_output "python set_break_bt_here_frame_id($pc, $cfa)"
+gdb_test_no_output "python set_break_bt_here_frame_id($pc, $cfa)" \
+ "call set_break_bt_here_frame_id to set the frame-id"
# Run up to the function which the unwinder will claim.
if { ![runto "break_bt_here"] } {