aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/aarch64-fv8.exp2
-rw-r--r--config/gdb_stub.exp4
-rw-r--r--config/sim.exp4
-rw-r--r--config/vxworks.exp2
4 files changed, 6 insertions, 6 deletions
diff --git a/config/aarch64-fv8.exp b/config/aarch64-fv8.exp
index 17a0efc..fa7fddf 100644
--- a/config/aarch64-fv8.exp
+++ b/config/aarch64-fv8.exp
@@ -32,7 +32,7 @@ proc ${board}_download { dest file args } {
# Extract the endianess of the executable
set status [catch "exec od -An -v -j5 -N1 -t x1 $file" bigendian]
set args "--quiet"
- if { $bigendian == "02"} {
+ if { $bigendian eq "02"} {
set args "$args --bigendian"
}
diff --git a/config/gdb_stub.exp b/config/gdb_stub.exp
index b86c8e5..d776b84 100644
--- a/config/gdb_stub.exp
+++ b/config/gdb_stub.exp
@@ -347,7 +347,7 @@ proc gdb_stub_start { dest } {
global gdb_prompt
set exit_brnum [gdb_stub_add_breakpoint _exit]
- if { $exit_brnum == "undef" || [board_info $dest exists always_break_exit] } {
+ if { $exit_brnum eq "undef" || [board_info $dest exists always_break_exit] } {
set exit_brnum [gdb_stub_add_breakpoint exit]
}
set abort_brnum [gdb_stub_add_breakpoint abort]
@@ -399,7 +399,7 @@ proc gdb_stub_spawn { dest prog args } {
}
set result [gdb_stub_start $dest]
- if { [lindex $result 0] != "pass" } {
+ if { [lindex $result 0] ne "pass" } {
remote_reboot target
} else {
return 666; # does anyone use this value?
diff --git a/config/sim.exp b/config/sim.exp
index 8d9088c..2a66731 100644
--- a/config/sim.exp
+++ b/config/sim.exp
@@ -81,9 +81,9 @@ proc sim_load { dest prog args } {
set output ""
- if { [board_info target sim,protocol] == "sid" } {
+ if { [board_info target sim,protocol] eq "sid" } {
set cmd "-e \"set cpu-loader file [list $prog]\""
- } elseif { [board_info target sim,protocol] == "rawsid" } {
+ } elseif { [board_info target sim,protocol] eq "rawsid" } {
set cmd "--load=$prog"
} else {
set cmd $prog
diff --git a/config/vxworks.exp b/config/vxworks.exp
index 86ac884..7acb234 100644
--- a/config/vxworks.exp
+++ b/config/vxworks.exp
@@ -425,7 +425,7 @@ proc vxworks_unld { dest } {
if {[board_info $dest exists vx_module]} {
# Vxworks5.0 does not have the unld command.
- if { [board_info $dest os] != "vxworks5.0" } {
+ if { [board_info $dest os] ne "vxworks5.0" } {
remote_exec $dest "unld" "[board_info $dest vx_module]"
}
unset board_info([board_info $dest name],vx_module)