aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/dw2-error.exp
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2020-10-20 10:20:24 +0200
committerTom de Vries <tdevries@suse.de>2020-10-20 10:20:24 +0200
commit0cd2ad78f15e746bde8eb7d4c1b6bb5cb6c174cc (patch)
treef2f205e7c6b120686c26bfd1c5f7cf8eb588a204 /gdb/testsuite/gdb.dwarf2/dw2-error.exp
parentb9e920ecd6f65bd37917b2f9e6d3fed9c8a60f66 (diff)
downloadgdb-0cd2ad78f15e746bde8eb7d4c1b6bb5cb6c174cc.zip
gdb-0cd2ad78f15e746bde8eb7d4c1b6bb5cb6c174cc.tar.gz
gdb-0cd2ad78f15e746bde8eb7d4c1b6bb5cb6c174cc.tar.bz2
[gdb/testsuite] Use $gdb_test_file_name in gdb.dwarf2
In f.i. gdb.dwarf2/dw2-line-number-zero.exp we find: ... verbose "Skipping dw2-line-number-zero test." ... Make the skip messages use the gdb_test_file_name variable, to reduce the amount of changes that needs to be made when coping a test-case. Tested on x86_64-linux. gdb/testsuite/ChangeLog: 2020-10-20 Tom de Vries <tdevries@suse.de> * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name. * gdb.dwarf2/dw2-line-number-zero.exp: Same. * gdb.dwarf2/dw2-main-no-line-number.exp: Same. * gdb.dwarf2/dw2-ranges-base.exp: Same. * gdb.dwarf2/dw2-ranges.exp: Same. * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same. * gdb.dwarf2/var-access.exp: Same.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dw2-error.exp')
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-error.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-error.exp b/gdb/testsuite/gdb.dwarf2/dw2-error.exp
index 53d6339..e698752 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-error.exp
+++ b/gdb/testsuite/gdb.dwarf2/dw2-error.exp
@@ -23,7 +23,7 @@ if {![dwarf2_support]} {
standard_testfile .S
if { ![istarget "x86_64-*-*"] || ![is_lp64_target] } {
- verbose "Skipping $testfile.exp"
+ verbose "Skipping $gdb_test_file_name."
return
}