[pushed,07/10,gdb/testsuite] Fix gdb.dwarf2/enqueued-cu-base-addr.exp for remote host
Commit Message
Fix test-case gdb.dwarf2/enqueued-cu-base-addr.exp for remote host by using
$testfile instead $binfile.
Tested on x86_64-linux.
---
gdb/testsuite/gdb.dwarf2/enqueued-cu-base-addr.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -89,7 +89,7 @@ set cu2_blockvector_re \
"" \
"block #000, \[^\r\n\]* in ($hex)..$hex" \
".*"]
-gdb_test_multiple "maint print symbols -objfile $binfile" "CU addr found" {
+gdb_test_multiple "maint print symbols -objfile $testfile" "CU addr found" {
-re -wrap $cu2_blockvector_re {
set addr $expect_out(1,string)
if { $addr eq "0x0" } {