aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracectf.c
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2023-07-10 12:16:30 +0100
committerAndrew Burgess <aburgess@redhat.com>2023-07-10 12:16:30 +0100
commit9f462ddef8456dc3b47e21f5f1995d1119e18b3f (patch)
tree3038fb1fbae6f87828b1d9668dfae0de8fb10f83 /gdb/tracectf.c
parent44c8334f4af5b9895d196077f23e20e15eff4c03 (diff)
downloadgdb-9f462ddef8456dc3b47e21f5f1995d1119e18b3f.zip
gdb-9f462ddef8456dc3b47e21f5f1995d1119e18b3f.tar.gz
gdb-9f462ddef8456dc3b47e21f5f1995d1119e18b3f.tar.bz2
gdb/testsuite: avoid stack addresses in test names
When comparing the test results for two different runs of GDB I noticed a difference in the results for gdb.base/frame-view.exp. The difference was caused by one of the tests including a stack address in the test name: PASS: gdb.base/frame-view.exp: with_pretty_printer=false: select-frame view 0x7ffff7c5cea8 0x40115b and PASS: gdb.base/frame-view.exp: with_pretty_printer=true: select-frame view 0x7ffff7c5cea8 0x40115b If for whatever reason the stack address changes between test runs then it becomes harder to compare results. Fix this by giving the test a descriptive name that doesn't include a stack address: PASS: gdb.base/frame-view.exp: with_pretty_printer=false: select thread 2 frame from thread 1 and PASS: gdb.base/frame-view.exp: with_pretty_printer=true: select thread 2 frame from thread 1 There's no change to what is actually tested after this commit.
Diffstat (limited to 'gdb/tracectf.c')
0 files changed, 0 insertions, 0 deletions