summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2017-10-13 11:14:06 +0100
committerPedro Alves <palves@redhat.com>2017-10-13 11:14:16 +0100
commitcc77b1dc33790bcb852c8c72e2efebaa3b505b01 (patch)
tree0e229fdb740b0168f4af3e8d0f8ba04c1455bc16
parent27c9e813f93974c2d1e237f3c4f25029627bcb58 (diff)
downloadbinutils-gdb-cc77b1dc33790bcb852c8c72e2efebaa3b505b01.tar.gz
gdb.base/remote.exp: Fix typo and add missing return
(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.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/remote.exp3
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index b37da2a1fef..51d788b19fb 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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
diff --git a/gdb/testsuite/gdb.base/remote.exp b/gdb/testsuite/gdb.base/remote.exp
index 7f89b2895ff..db6fc006091 100644
--- a/gdb/testsuite/gdb.base/remote.exp
+++ b/gdb/testsuite/gdb.base/remote.exp
@@ -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