mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
[gdb/testsuite] Remove ${board}_file from remote-stdio-gdbserver.exp
Looking at the implementation of ${board}_file in remote-stdio-gdbserver.exp, I don't see a relevant difference with the implementation of standard_file in dejagnu. Simplify the board by removing ${board}_file. Tested on x86_64-linux, by running gdb.testsuite/board-sanity.exp.
This commit is contained in:
@ -86,14 +86,6 @@ proc get_target_remote_pipe_cmd { } {
|
||||
return "$rsh_cmd $gdbserver --once stdio $target_exec"
|
||||
}
|
||||
|
||||
proc ${board}_file { dest op args } {
|
||||
if { $op == "delete" } {
|
||||
set res [remote_exec target "rm -f $args"]
|
||||
return [lindex $res 0]
|
||||
}
|
||||
return [eval [list standard_file $dest $op] $args]
|
||||
}
|
||||
|
||||
proc ${board}_spawn { board cmd } {
|
||||
global board_info
|
||||
|
||||
|
Reference in New Issue
Block a user