From: Maciej W. Rozycki Date: Fri, 1 Nov 2013 20:34:49 +0000 (+0000) Subject: gdb.dwarf2/dwzbuildid.exp: Avoid reserved variable name X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a1b0fbee1d325b9b222d68d2d4ff34316ba10d38;p=binutils-gdb.git gdb.dwarf2/dwzbuildid.exp: Avoid reserved variable name * gdb.dwarf2/dwzbuildid.exp: Rename `outdir' variable to `debugdir'. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 94601efa5ec..6df87aee42e 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-11-01 Maciej W. Rozycki + + * gdb.dwarf2/dwzbuildid.exp: Rename `outdir' variable to + `debugdir'. + 2013-10-31 Andrew Burgess * gdb.base/watchpoint.exp (test_no_hw_watchpoints): Add additional diff --git a/gdb/testsuite/gdb.dwarf2/dwzbuildid.exp b/gdb/testsuite/gdb.dwarf2/dwzbuildid.exp index 7bcab95e828..de6181b2319 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}