diff options
Diffstat (limited to 'gdb/testsuite/config/slite.exp')
-rw-r--r-- | gdb/testsuite/config/slite.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/config/slite.exp b/gdb/testsuite/config/slite.exp index c33ba85..fefd799 100644 --- a/gdb/testsuite/config/slite.exp +++ b/gdb/testsuite/config/slite.exp @@ -60,7 +60,7 @@ proc gdb_load { arg } { } else { if ![target_info exists netport] { perror "Need either netport or gdb_serial entry for [target_info name]."; - return -1; + return -1 } set targetname [target_info netport]; set command "target $protocol udp [target_info netport]\n"; @@ -105,7 +105,7 @@ proc gdb_load { arg } { set arg [remote_download host $arg]; if { $arg == "" } { error "download failed" - return -1; + return -1 } } send_gdb "load $arg $offset\n" |