diff options
author | Ben Elliston <bje@gnu.org> | 2018-12-08 00:09:42 +1100 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2018-12-08 00:09:42 +1100 |
commit | b3d43d3be8208272573563943690fff25ee50c8f (patch) | |
tree | 7245bff4e6eb16bd95c5c9ecfc65bd76241a8a7e /config/gdb_stub.exp | |
parent | 4c9fa60d34fce9f5df2a48b6e025a8a2c0ac3acd (diff) | |
download | dejagnu-b3d43d3be8208272573563943690fff25ee50c8f.zip dejagnu-b3d43d3be8208272573563943690fff25ee50c8f.tar.gz dejagnu-b3d43d3be8208272573563943690fff25ee50c8f.tar.bz2 |
* runtest.exp, lib/utils.exp, lib/target.exp, lib/ssh.exp,
lib/rsh.exp, lib/rlogin.exp, lib/remote.exp, lib/libgloss.exp,
lib/framework.exp, lib/dg.exp, lib/dejagnu.exp,
config/vxworks.exp, config/unix.exp, config/sim.exp,
config/gdb_stub.exp, config/gdb-comm.exp, config/adb.exp,
baseboards/multi-sim.exp, baseboards/cris-sim.exp,
baseboards/basic-sim.exp, baseboards/basic-sid.exp,
baseboards/androideabi.exp, testsuite/runtest.all/load_lib.exp,
testsuite/libdejagnu/tunit.exp: Replace empty string comparisons
using == and != with 'eq' and 'ne'.
Diffstat (limited to 'config/gdb_stub.exp')
-rw-r--r-- | config/gdb_stub.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/gdb_stub.exp b/config/gdb_stub.exp index 7d8cb0d..b86c8e5 100644 --- a/config/gdb_stub.exp +++ b/config/gdb_stub.exp @@ -29,7 +29,7 @@ proc gdb_stub_init { dest args } { if {![info exists GDB]} then { set GDB "[lookfor_file ${tool_root_dir} gdb/gdb]" - if { $GDB == "" } { + if { $GDB eq "" } { set GDB [transform gdb] } } @@ -475,7 +475,7 @@ proc gdb_stub_load { dest prog args } { set argnames { "command-line arguments" "input file" "output file" } for { set x 0 } { $x < [llength $args] } { incr x } { - if { [lindex $args $x] != "" } { + if { [lindex $args $x] ne "" } { return [list "unsupported" "no support for [lindex $argnames $x] on this target"] } } |