aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/lib
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-11-11 01:23:10 -0500
committerMike Frysinger <vapier@gentoo.org>2021-11-11 02:07:10 -0500
commitefe113047d765b26869c3170c43678dd561027b4 (patch)
tree1f90b3c39320ca22d7805a4e651b1a9951d7a0fc /sim/testsuite/lib
parentf0f2906ca03a656a6286838f9448f7b547c129e0 (diff)
downloadbinutils-efe113047d765b26869c3170c43678dd561027b4.zip
binutils-efe113047d765b26869c3170c43678dd561027b4.tar.gz
binutils-efe113047d765b26869c3170c43678dd561027b4.tar.bz2
sim: testsuite: drop sim_compile cover function
Most code isn't using this, and the only call site (in one cris file) can use target_compile directly. So switch it over to simplify.
Diffstat (limited to 'sim/testsuite/lib')
-rw-r--r--sim/testsuite/lib/sim-defs.exp13
1 files changed, 0 insertions, 13 deletions
diff --git a/sim/testsuite/lib/sim-defs.exp b/sim/testsuite/lib/sim-defs.exp
index 6e8feaf..7bc4c66 100644
--- a/sim/testsuite/lib/sim-defs.exp
+++ b/sim/testsuite/lib/sim-defs.exp
@@ -35,19 +35,6 @@ proc sim_version {} {
clone_output "$sim_path $version\n"
}
-# Cover function to target_compile.
-# Copied from gdb_compile.
-
-proc sim_compile { source dest type options } {
- set result [target_compile $source $dest $type $options]
- regsub "\[\r\n\]*$" "$result" "" result
- regsub "^\[\r\n\]*" "$result" "" result
- if { $result != "" } {
- clone_output "sim compile output: $result"
- }
- return $result
-}
-
# Find the path to the simulator for executing.
proc sim_tool_path {} {
global sim_path