aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/dwzbuildid.exp
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@codesourcery.com>2013-11-01 20:34:49 +0000
committerMaciej W. Rozycki <macro@codesourcery.com>2013-11-01 20:34:49 +0000
commita1b0fbee1d325b9b222d68d2d4ff34316ba10d38 (patch)
tree35c4d1e611fd276a5ec06b4e64bd9d5130311931 /gdb/testsuite/gdb.dwarf2/dwzbuildid.exp
parent0569175e8e1820bb83569799c8d6dcbdf502c586 (diff)
downloadgdb-a1b0fbee1d325b9b222d68d2d4ff34316ba10d38.zip
gdb-a1b0fbee1d325b9b222d68d2d4ff34316ba10d38.tar.gz
gdb-a1b0fbee1d325b9b222d68d2d4ff34316ba10d38.tar.bz2
gdb.dwarf2/dwzbuildid.exp: Avoid reserved variable name
* gdb.dwarf2/dwzbuildid.exp: Rename `outdir' variable to `debugdir'.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dwzbuildid.exp')
-rw-r--r--gdb/testsuite/gdb.dwarf2/dwzbuildid.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dwzbuildid.exp b/gdb/testsuite/gdb.dwarf2/dwzbuildid.exp
index 7bcab95..de6181b 100644
--- a/gdb/testsuite/gdb.dwarf2/dwzbuildid.exp
+++ b/gdb/testsuite/gdb.dwarf2/dwzbuildid.exp
@@ -100,8 +100,8 @@ set ok_buildid ${ok_prefix}${ok_suffix}
set ok_buildid2 ${ok_prefix}${ok_suffix2}
set bad_buildid ffffffffffff
-set outdir [standard_output_file {}]
-set basedir $outdir/.build-id
+set debugdir [standard_output_file {}]
+set basedir $debugdir/.build-id
file mkdir $basedir $basedir/$ok_prefix
# Test where the separate debuginfo's buildid matches.
@@ -154,7 +154,7 @@ foreach testname {ok mismatch fallback} {
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
- gdb_test_no_output "set debug-file-directory $outdir" \
+ gdb_test_no_output "set debug-file-directory $debugdir" \
"set debug-file-directory"
gdb_load ${binfile}-${testname}