* lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
downloads. * config/gdbserver.exp (gdb_load): Likewise.
This commit is contained in:
parent
dd5da072a1
commit
7e813ac51f
3 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
|
* lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
|
||||||
|
downloads.
|
||||||
|
* config/gdbserver.exp (gdb_load): Likewise.
|
||||||
|
|
||||||
2005-03-14 Paul Brook <paul@codesourcery.com>
|
2005-03-14 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
* lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
|
* lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# ie. a debug agent running as a native process on the same or
|
# ie. a debug agent running as a native process on the same or
|
||||||
# a different host.
|
# 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
|
# 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
|
# 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 { ! [info exists server_exec] } {
|
||||||
if [is_remote target] {
|
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 {
|
} else {
|
||||||
set server_exec $host_exec
|
set server_exec $host_exec
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
# 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
|
# 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 { ! [info exists last_mi_remote_file] } {
|
||||||
if [is_remote target] {
|
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 {
|
} else {
|
||||||
set last_mi_remote_file $last_mi_gdb_file
|
set last_mi_remote_file $last_mi_gdb_file
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue