This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] gdb.base/remote.exp: Fix typo and add missing return
- From: Pedro Alves <palves at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 13 Oct 2017 10:20:16 -0000
- Subject: [binutils-gdb] gdb.base/remote.exp: Fix typo and add missing return
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cc77b1dc33790bcb852c8c72e2efebaa3b505b01
commit cc77b1dc33790bcb852c8c72e2efebaa3b505b01
Author: Pedro Alves <palves@redhat.com>
Date: Fri Oct 13 11:14:06 2017 +0100
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.
Diff:
---
gdb/testsuite/ChangeLog | 5 +++++
gdb/testsuite/gdb.base/remote.exp | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index b37da2a..51d788b 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 7f89b28..db6fc00 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