aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.server
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-01-12 00:50:26 +0000
committerDoug Evans <dje@google.com>2010-01-12 00:50:26 +0000
commit6496a6093db530ef4ab153eb510eeda17a7301c5 (patch)
tree1fc71e9d5274b3ea8c588d6c16e6cfbf8ec05d28 /gdb/testsuite/gdb.server
parent08e24bd4abc31abbc6ff795b95275dc3fe737113 (diff)
downloadbinutils-6496a6093db530ef4ab153eb510eeda17a7301c5.zip
binutils-6496a6093db530ef4ab153eb510eeda17a7301c5.tar.gz
binutils-6496a6093db530ef4ab153eb510eeda17a7301c5.tar.bz2
* lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
from gdbserver_download. All callers updated.
Diffstat (limited to 'gdb/testsuite/gdb.server')
-rw-r--r--gdb/testsuite/gdb.server/ext-attach.exp2
-rw-r--r--gdb/testsuite/gdb.server/ext-run.exp2
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.server/ext-attach.exp b/gdb/testsuite/gdb.server/ext-attach.exp
index a00075b..196c56b 100644
--- a/gdb/testsuite/gdb.server/ext-attach.exp
+++ b/gdb/testsuite/gdb.server/ext-attach.exp
@@ -42,7 +42,7 @@ gdb_start
gdb_load $binfile
gdb_reinitialize_dir $srcdir/$subdir
-set target_exec [gdbserver_download]
+set target_exec [gdbserver_download_current_prog]
gdbserver_start_extended
gdb_test "set remote exec-file $target_exec" "" "set remote exec-file"
diff --git a/gdb/testsuite/gdb.server/ext-run.exp b/gdb/testsuite/gdb.server/ext-run.exp
index 5797c80..9b140d6 100644
--- a/gdb/testsuite/gdb.server/ext-run.exp
+++ b/gdb/testsuite/gdb.server/ext-run.exp
@@ -40,7 +40,7 @@ gdb_start
gdb_load $binfile
gdb_reinitialize_dir $srcdir/$subdir
-set target_exec [gdbserver_download]
+set target_exec [gdbserver_download_current_prog]
gdbserver_start_extended
gdb_test "set remote exec-file $target_exec" "" "set remote exec-file"