This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Allow "." prefix for ppc64 in solib-weak.exp
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: gdb-patches at sourceware dot org
- Date: Sun, 13 Mar 2011 02:08:45 +0100 (CET)
- Subject: [commit] Allow "." prefix for ppc64 in solib-weak.exp
Hello,
another test fails on ppc64 due to the "." prefix in function names.
Fixed by modifying the test to allow the prefix, as was already done
for various other tests.
Tested on powerpc64-linux, committed to mainline.
Bye,
Ulrich
ChangeLog:
* gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
Index: gdb/testsuite/gdb.base/solib-weak.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/solib-weak.exp,v
retrieving revision 1.10
diff -u -p -r1.10 solib-weak.exp
--- gdb/testsuite/gdb.base/solib-weak.exp 1 Jan 2011 15:33:42 -0000 1.10
+++ gdb/testsuite/gdb.base/solib-weak.exp 13 Mar 2011 01:00:42 -0000
@@ -110,7 +110,7 @@ proc do_test { lib1opts lib2opts lib1fir
setup_kfail gdb/1824 *-*-*
}
- gdb_test "continue" "Breakpoint .* bar .*${expected_file}\\..*" \
+ gdb_test "continue" "Breakpoint .* \\.?bar .*${expected_file}\\..*" \
"run to breakpoint - $testopts"
}
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com