aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-01-07 20:07:18 +0000
committerTom Tromey <tromey@redhat.com>2010-01-07 20:07:18 +0000
commit3a08d52f28cafb9fca077d58be4f0cdb42f3f655 (patch)
tree6e3fc0b4e81bd22648f24de4b431f9bbd13dc691 /gdb/testsuite
parentf2b2dd913f26435c8dc567a4116f49967f35df79 (diff)
downloadgdb-3a08d52f28cafb9fca077d58be4f0cdb42f3f655.zip
gdb-3a08d52f28cafb9fca077d58be4f0cdb42f3f655.tar.gz
gdb-3a08d52f28cafb9fca077d58be4f0cdb42f3f655.tar.bz2
* gdb.base/source.exp: Use correct line number.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/source.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 6e4870e..91614db 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-07 Tom Tromey <tromey@redhat.com>
+
+ * gdb.base/source.exp: Use correct line number.
+
2010-01-05 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tracecmd.exp: Test ftrace.
diff --git a/gdb/testsuite/gdb.base/source.exp b/gdb/testsuite/gdb.base/source.exp
index cbe0d66..f7b8cff 100644
--- a/gdb/testsuite/gdb.base/source.exp
+++ b/gdb/testsuite/gdb.base/source.exp
@@ -32,7 +32,7 @@ set binfile ${objdir}/${subdir}/${testfile}
gdb_start
gdb_test "source ${srcdir}/${subdir}/source-error.gdb" \
- "source-error.gdb:22: Error in sourced command file:\[\r\n\]*Cannot access memory at address 0x0.*" \
+ "source-error.gdb:21: Error in sourced command file:\[\r\n\]*Cannot access memory at address 0x0.*" \
"script contains error"
gdb_exit