diff options
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/source.exp | 2 |
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 |