+2014-04-15 Pedro Alves <palves@redhat.com>
+
+ * gdb.base/sym-file.exp: Remove regex characters from test
+ message. Don't refer to breakpoint numbers in test messages.
+
2014-04-14 Keith Seitz <keiths@redhat.com>
PR c++/16253
# 3) Add $shlib_name using 'add-symbol-file'.
set result [gdb_test "add-symbol-file ${shlib_name} addr" \
"Reading symbols from .*${lib_basename}\\.so\\.\\.\\.done\\." \
- "add-symbol-file .*${lib_basename}\\.so addr" \
+ "add-symbol-file ${lib_basename}.so addr" \
"add symbol table from file \".*${lib_basename}\\.so\"\
at.*\\(y or n\\) " \
"y"]
# $shlib_name.
gdb_test "info breakpoints 2" \
".*PENDING.*" \
- "check if Breakpoint 2 is pending."
+ "breakpoint at foo is pending"
gdb_test "info breakpoints 3" \
".*PENDING.*" \
- "check if Breakpoint 3 is pending."
+ "breakpoint at bar is pending"
# 13) Check that the execution can continue without error.
gdb_continue_to_end