gdb.dwarf2/dwzbuildid.exp: Avoid reserved variable name

* gdb.dwarf2/dwzbuildid.exp: Rename `outdir' variable to
	`debugdir'.
This commit is contained in:
Maciej W. Rozycki 2013-11-01 20:34:49 +00:00
parent 0569175e8e
commit a1b0fbee1d
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2013-11-01 Maciej W. Rozycki <macro@codesourcery.com>
* gdb.dwarf2/dwzbuildid.exp: Rename `outdir' variable to
`debugdir'.
2013-10-31 Andrew Burgess <aburgess@broadcom.com>
* gdb.base/watchpoint.exp (test_no_hw_watchpoints): Add additional

View File

@ -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}