* gdb.base/source.exp: Use correct line number.

This commit is contained in:
Tom Tromey
2010-01-07 20:07:18 +00:00
parent f2b2dd913f
commit 3a08d52f28
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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