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 b37da2a1fef0f127fc599ca1e908df8b3cc18ced..51d788b19fbe5ae3ec6d4cfffe16ca8f43f74e2d 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
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