From 0b27348f64da6f1a8d2e81f13d709c6786a39e09 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Mon, 14 Mar 2011 19:50:15 +1100 Subject: [PATCH] * baseboards/cris-sim.exp: Remove trailing semicolon(s). * baseboards/mt-sid.exp: Likewise. * baseboards/tx39-sim.exp: Likewise. * lib/target.exp (default_target_compile): Likewise. --- ChangeLog | 7 +++++++ baseboards/cris-sim.exp | 4 ++-- baseboards/mt-sid.exp | 2 +- baseboards/tx39-sim.exp | 2 +- lib/target.exp | 4 ++-- 5 files changed, 13 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 868b176..965da72 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-03-14 Ben Elliston + * baseboards/cris-sim.exp: Remove trailing semicolon(s). + * baseboards/mt-sid.exp: Likewise. + * baseboards/tx39-sim.exp: Likewise. + * lib/target.exp (default_target_compile): Likewise. + +2011-03-14 Ben Elliston + Reported by Flash Sheridan : * doc/user.xml (Testing "Hello world" locally): Improve the example test script and make it robust to failures. Tidy some diff --git a/baseboards/cris-sim.exp b/baseboards/cris-sim.exp index d316918..4a6b069 100644 --- a/baseboards/cris-sim.exp +++ b/baseboards/cris-sim.exp @@ -45,8 +45,8 @@ if {[istarget *-*-linux*]} { # Support different multilibs and targets. foreach x $board_variant_list { - regsub -all "^\[ \t\]*" "$x" "" x; - regsub -all "\[ \t\]*$" "$x" "" x; + regsub -all "^\[ \t\]*" "$x" "" x + regsub -all "\[ \t\]*$" "$x" "" x switch -- $x { # We force the arch to either pre-v32 (i.e. v10) or v32 for the diff --git a/baseboards/mt-sid.exp b/baseboards/mt-sid.exp index 6ff8272..1083c08 100644 --- a/baseboards/mt-sid.exp +++ b/baseboards/mt-sid.exp @@ -48,7 +48,7 @@ set_board_info sim,defaultendian "-EB" load_generic_config "sid" # Tells the test harness to use pre-generated sid configurations. -set_board_info sim,protocol "sid"; +set_board_info sim,protocol "sid" # This is the name of our entry point symbol. set_board_info gdb,start_symbol _start diff --git a/baseboards/tx39-sim.exp b/baseboards/tx39-sim.exp index d2462d4..79aa8a6 100644 --- a/baseboards/tx39-sim.exp +++ b/baseboards/tx39-sim.exp @@ -19,4 +19,4 @@ # This file is unnecessary, but we'll keep it for now. # We're the same as the standard MIPS simulator. -load_base_board_description "mips-sim"; +load_base_board_description "mips-sim" diff --git a/lib/target.exp b/lib/target.exp index 8d28770..6d82422 100644 --- a/lib/target.exp +++ b/lib/target.exp @@ -336,9 +336,9 @@ proc default_target_compile {source destfile type options} { append add_flags " [target_info adaflags]" } if {[board_info $dest exists gnatmake]} { - set compiler [target_info gnatmake]; + set compiler [target_info gnatmake] } else { - set compiler [find_gnatmake]; + set compiler [find_gnatmake] } } -- 2.7.4