[v3,08/24] gdb.base/completion.exp: Fix comment typo

Message ID 20190604223444.26472-9-palves@redhat.com
State New
Headers show
  • gdb::option framework, "print -OPT", other cmd options
Related show

Commit Message

Pedro Alves June 4, 2019, 10:34 p.m.
Noticed this while writing the following patch.  We cd to $srcdir, not $objdir.

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