This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] gdbserver testsuite tweak
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Tue, 26 Jun 2007 16:34:02 -0400
- Subject: [commit] gdbserver testsuite tweak
This patch fixes the test for gdbserver when your glibc is not
stripped. Tested x86_64-linux with glibc HEAD and checked in.
--
Daniel Jacobowitz
CodeSourcery
2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
Index: testsuite/gdb.base/chng-syms.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/chng-syms.exp,v
retrieving revision 1.6
diff -u -p -r1.6 chng-syms.exp
--- testsuite/gdb.base/chng-syms.exp 9 Jan 2007 17:59:09 -0000 1.6
+++ testsuite/gdb.base/chng-syms.exp 26 Jun 2007 20:28:18 -0000
@@ -109,7 +109,7 @@ if { [gdb_compile "${srcdir}/${subdir}/
-re "Error in re-setting .*No symbol .var1..*Program exited normally.*$gdb_prompt $" {
pass "running with invalidated bpt condition after executable changes"
}
- -re "Error in re-setting .*No symbol .var1..*Breakpoint .*,( 0x.* in)? exit .*$gdb_prompt $" {
+ -re "Error in re-setting .*No symbol .var1..*Breakpoint .*,( 0x.* in)? (\[^ \]*)exit .*$gdb_prompt $" {
pass "running with invalidated bpt condition after executable changes"
}
-re "$gdb_prompt $" {