diff options
Diffstat (limited to 'gdb/testsuite/config/gdbserver.exp')
-rw-r--r-- | gdb/testsuite/config/gdbserver.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/config/gdbserver.exp b/gdb/testsuite/config/gdbserver.exp index 6dc6b23f494..61db50e3bf3 100644 --- a/gdb/testsuite/config/gdbserver.exp +++ b/gdb/testsuite/config/gdbserver.exp @@ -2,7 +2,7 @@ # ie. a debug agent running as a native process on the same or # a different host. -# Copyright 2000, 2002, 2003, 2004 Free Software Foundation, Inc. +# Copyright 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 @@ -201,7 +201,7 @@ proc gdb_load { arg } { if { ! [info exists server_exec] } { if [is_remote target] { - set server_exec [remote_download target $host_exec] + set server_exec [remote_download target $host_exec /tmp/[file tail $host_exec].[pid]] } else { set server_exec $host_exec } |