diff options
Diffstat (limited to 'gdb/testsuite/lib/gdb.exp')
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 2 |
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. |