aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2007-10-30 19:23:18 +0000
committerPedro Alves <palves@redhat.com>2007-10-30 19:23:18 +0000
commit7020f05c275a933720905bc7e4a2446175f28b0f (patch)
tree379dceda5c7e2b54148c20f50c9d55017a2cc934 /gdb/testsuite/lib
parent84bc3db95d718ad25bb281b5cff9f13b5e5f8bd6 (diff)
downloadgdb-7020f05c275a933720905bc7e4a2446175f28b0f.zip
gdb-7020f05c275a933720905bc7e4a2446175f28b0f.tar.gz
gdb-7020f05c275a933720905bc7e4a2446175f28b0f.tar.bz2
* lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
with [string compare].
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r--gdb/testsuite/lib/gdb.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 5c5f9bf..edbc606 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -2505,7 +2505,7 @@ proc build_id_debug_filename_get { exec } {
set data [read $fi]
close $fi
file delete $tmp
- if {$data eq ""} {
+ if ![string compare $data ""] then {
return ""
}
# Convert it to hex.