gdb.base/remote.exp: Fix typo and add missing return
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / remote.exp
index 7f89b2895ff24b473f2a8db4c9ae9a661b3bebf0..db6fc006091164cabeff6e262a72eb104c406760 100644 (file)
@@ -54,7 +54,7 @@ gdb_test "show remote memory-write-packet-size" \
        "set write-packet - very-small"
 
 #
-# Part TWO: Check the download behavour
+# Part TWO: Check the download behavior.
 #
 
 proc gdb_load_timed {executable class writesize} {
@@ -128,6 +128,7 @@ set sizeof_random_data [get_sizeof "random_data" 48*1024]
 #
 if ![runto_main] then {
     fail "cannot run to main"
+    return
 }
 
 # Carefully check memory around each of the most common packet edge
This page took 0.026359 seconds and 4 git commands to generate.