filenames in expected messages.
+2011-10-09 Joseph Myers <joseph@codesourcery.com>
+
+ * gdb.base/solib-symbol.exp: Do not include directories in
+ filenames in expected messages.
+
2011-10-07 Doug Evans <dje@google.com>
* gdb.python/py-pp-maint.py: Add tests for `replace' arg.
# Set a breakpoint in the binary.
gdb_test "br foo2" \
- "Breakpoint.*file.*${srcfile}.*" \
+ "Breakpoint.*file.*${testfile}\\.c.*" \
"foo2 in main"
delete_breakpoints
# Break in the library.
gdb_test "br foo" \
- "Breakpoint.*file.*${srcfile_lib}.*" \
+ "Breakpoint.*file.*${libname}\\.c.*" \
"foo in libmd"
gdb_test "continue" \
# This symbol is now looked up in the ELF library.
gdb_test "br foo2" \
- "Breakpoint.*file.*${srcfile_lib}.*" \
+ "Breakpoint.*file.*${libname}\\.c.*" \
"foo2 in mdlib"
gdb_exit