aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2005-03-25 20:38:55 +0000
committerDaniel Jacobowitz <drow@false.org>2005-03-25 20:38:55 +0000
commit7e813ac51f6ea5e3d9ffd1597db564ea23c49d27 (patch)
tree3dd1fac21bb3c8e6e9c922cd7b0daf51d5612354 /gdb/testsuite/lib
parentdd5da072a1949704e88413e4e1b721cb8e4bf80c (diff)
downloadgdb-7e813ac51f6ea5e3d9ffd1597db564ea23c49d27.zip
gdb-7e813ac51f6ea5e3d9ffd1597db564ea23c49d27.tar.gz
gdb-7e813ac51f6ea5e3d9ffd1597db564ea23c49d27.tar.bz2
* lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
downloads. * config/gdbserver.exp (gdb_load): Likewise.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r--gdb/testsuite/lib/mi-support.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp
index 6d1d867..a8d2942 100644
--- a/gdb/testsuite/lib/mi-support.exp
+++ b/gdb/testsuite/lib/mi-support.exp
@@ -1,4 +1,4 @@
-# Copyright 1999, 2000, 2002, 2003, 2004 Free Software Foundation, Inc.
+# Copyright 1999, 2000, 2002, 2003, 2004, 2005 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
@@ -439,7 +439,7 @@ proc mi_gdb_load { arg } {
if { ! [info exists last_mi_remote_file] } {
if [is_remote target] {
- set last_mi_remote_file [remote_download target $arg]
+ set last_mi_remote_file [remote_download target $arg /tmp/[file tail $arg].[pid]]
} else {
set last_mi_remote_file $last_mi_gdb_file
}