* [PUSHED] gdb/testsuite: avoid $pc/$sp values in test names
@ 2024-03-29 14:18 Andrew Burgess
0 siblings, 0 replies; only message in thread
From: Andrew Burgess @ 2024-03-29 14:18 UTC (permalink / raw)
To: gdb-patches; +Cc: Andrew Burgess
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.
---
gdb/testsuite/gdb.base/pc-not-saved.exp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gdb/testsuite/gdb.base/pc-not-saved.exp b/gdb/testsuite/gdb.base/pc-not-saved.exp
index f267a269f1a..5f22568165a 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"] } {
base-commit: 221918140b0b4a52674491d7ab4487da02d063a7
--
2.25.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-03-29 14:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-29 14:18 [PUSHED] gdb/testsuite: avoid $pc/$sp values in test names Andrew Burgess
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).