This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Fix gdb.cp/gdb2495.exp for remote-host testing
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 10 Oct 2011 23:05:42 +0000 (UTC)
- Subject: Fix gdb.cp/gdb2495.exp for remote-host testing
Similarly to my fix
<http://sourceware.org/ml/gdb-patches/2011-10/msg00176.html> for
fixsection.exp and that for gdb.base/solib-symbol.exp,
gdb.cp/gdb2495.exp is a third test needing filenames in expected
messages adjusted not to include directories for remote-host testing.
OK to commit this patch?
2011-10-10 Joseph Myers <joseph@codesourcery.com>
* gdb.cp/gdb2495.exp: Do not include directories in filename in
expected message.
Index: gdb.cp/gdb2495.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/gdb2495.exp,v
retrieving revision 1.6
diff -u -r1.6 gdb2495.exp
--- gdb.cp/gdb2495.exp 1 Jan 2011 15:33:43 -0000 1.6
+++ gdb.cp/gdb2495.exp 10 Oct 2011 23:00:00 -0000
@@ -104,7 +104,7 @@
# call and that the std::terminate breakpoint has evaporated and
# cleaned-up.
gdb_test "info breakpoints" \
- "gdb.cp/gdb2495\.cc.*"
+ "gdb2495\.cc.*"
# Turn off this new behaviour.
gdb_test_multiple "set unwind-on-terminating-exception off" \
--
Joseph S. Myers
joseph@codesourcery.com