From 3a08d52f28cafb9fca077d58be4f0cdb42f3f655 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 7 Jan 2010 20:07:18 +0000 Subject: [PATCH] * gdb.base/source.exp: Use correct line number. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/source.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 6e4870ec8fa..91614db8718 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2010-01-07 Tom Tromey + + * gdb.base/source.exp: Use correct line number. + 2010-01-05 Stan Shebs * gdb.trace/tracecmd.exp: Test ftrace. diff --git a/gdb/testsuite/gdb.base/source.exp b/gdb/testsuite/gdb.base/source.exp index cbe0d660ab3..f7b8cffd9fd 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 -- 2.30.2