[binutils-gdb] gdb.base/completion.exp: Fix comment typo

Pedro Alves palves@sourceware.org
Wed Jun 12 23:28:00 GMT 2019


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ccf46844d3e5ad4af9f3a10cc0599c939138d566

commit ccf46844d3e5ad4af9f3a10cc0599c939138d566
Author: Pedro Alves <palves@redhat.com>
Date:   Thu Jun 13 00:06:52 2019 +0100

    gdb.base/completion.exp: Fix comment typo
    
    Noticed this while writing the following patch.  We cd to $srcdir, not $objdir.
    
    gdb/testsuite/ChangeLog:
    2019-06-13  Pedro Alves  <palves@redhat.com>
    
    	* gdb.base/completion.exp: Fix comment typo.

Diff:
---
 gdb/testsuite/ChangeLog               | 4 ++++
 gdb/testsuite/gdb.base/completion.exp | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5590bf9..cff713c 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
 2019-06-13  Pedro Alves  <palves@redhat.com>
 
+	* gdb.base/completion.exp: Fix comment typo.
+
+2019-06-13  Pedro Alves  <palves@redhat.com>
+
 	* gdb.multi/tids.exp: Adjust expected output.  Add "thread apply 1
 	foo --1" test.
 
diff --git a/gdb/testsuite/gdb.base/completion.exp b/gdb/testsuite/gdb.base/completion.exp
index b110ba3..e705f8c 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



More information about the Gdb-cvs mailing list