gdb.base/remote.exp: Fix typo and add missing return
authorPedro Alves <palves@redhat.com>
Fri, 13 Oct 2017 10:14:06 +0000 (11:14 +0100)
committerPedro Alves <palves@redhat.com>
Fri, 13 Oct 2017 10:14:16 +0000 (11:14 +0100)
(Dropped 'u' while at it because we're supposed to prefer American
English spelling...)

gdb/testsuite/ChangeLog:
2017-10-13  Pedro Alves  <palves@redhat.com>

* gdb.base/remote.exp (top level): Fix comment typo and add
missing return.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/remote.exp

index b37da2a..51d788b 100644 (file)
@@ -1,4 +1,9 @@
 2017-10-13  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/remote.exp (top level): Fix comment typo and add
+       missing return.
+
+2017-10-13  Pedro Alves  <palves@redhat.com>
            Simon Marchi  <simon.marchi@polymtl.ca>
 
        * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
index 7f89b28..db6fc00 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