[PATCH 08/24] gdb.base/settings.exp: Fix comment typo

Pedro Alves
2019-05-22T20:53:39Z

Noticed this while writing the following patch. We cd to $srcdir, not $objdir.

gdb/testsuite/ChangeLog:
yyyy-mm-dd Pedro Alves <palves@redhat.com>

* gdb.base/completion.exp: Fix comment typo.
---
gdb/testsuite/gdb.base/completion.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/testsuite/gdb.base/completion.exp b/gdb/testsuite/gdb.base/completion.exp
index b110ba3c45a..e705f8cdb0e 100644
--- a/gdb/testsuite/gdb.base/completion.exp
+++ b/gdb/testsuite/gdb.base/completion.exp
@@ -665,7 +665,7 @@ gdb_test "complete whatis &values\[0\]->z" \
# strategy on Tuesdays to get the cursor in the right place, that's
# not something the testsuite should care about.
#
-# So, we avoid long lines. We `cd' to ${objdir} first, and then do
+# So, we avoid long lines. We `cd' to ${srcdir} first, and then do
# the completion relative to the current directory.

# ${srcdir} may be a relative path. We want to make sure we end up
--
2.14.5