Index: gdb/testsuite/gdb.dwarf2/dw2-basic.exp |
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-basic.exp b/gdb/testsuite/gdb.dwarf2/dw2-basic.exp |
index fa11ebee787c41f73659c3d7eefa355c25c3388a..0a935cba6e760ef84427148f4f791d0f6856afa6 100644 |
--- a/gdb/testsuite/gdb.dwarf2/dw2-basic.exp |
+++ b/gdb/testsuite/gdb.dwarf2/dw2-basic.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2004-2005, 2007-2012 Free Software Foundation, Inc. |
+# Copyright 2004-2013 Free Software Foundation, Inc. |
# This program is free software; you can redistribute it and/or modify |
# it under the terms of the GNU General Public License as published by |
@@ -29,7 +29,8 @@ if {[prepare_for_testing_full $testfile.exp \ |
return -1 |
} |
-set remote_dwarf_srcfile [remote_download host ${srcdir}/${subdir}/${dwarf_srcfile}] |
+set remote_dwarf_srcfile [gdb_remote_download host \ |
+ ${srcdir}/${subdir}/${dwarf_srcfile}] |
gdb_test_no_output "set listsize 1" |
gdb_test "list func_cu1" "4\[ \t\]+File 1 Line 4" |