This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[ob] Use gdb_breakpoint
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Tue, 18 Jul 2006 15:38:15 -0400
- Subject: [ob] Use gdb_breakpoint
When testing gdb on Windows, in a configuration without DLL support,
the testsuite failed to set a breakpoint on kill. gdb_breakpoint turns this
into a FAIL instead of a timeout and error; committed.
--
Daniel Jacobowitz
CodeSourcery
2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.threads/print-threads.exp: Use gdb_breakpoint.
---
gdb/testsuite/gdb.threads/print-threads.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: src/gdb/testsuite/gdb.threads/print-threads.exp
===================================================================
--- src.orig/gdb/testsuite/gdb.threads/print-threads.exp 2006-07-18 14:44:12.000000000 -0400
+++ src/gdb/testsuite/gdb.threads/print-threads.exp 2006-07-18 14:46:09.000000000 -0400
@@ -123,7 +123,7 @@ test_all_threads "slow" 0
runto_main
gdb_test "break thread_function" "Breakpoint \[0-9\]+ at 0x\[0-9a-f\]+: file .*print-threads.c, line \[0-9\]*\\." "break thread_function (3)"
gdb_test "set var slow = 1" "" "set var slow = 1 (2)"
-gdb_test "break kill" "Breakpoint \[0-9\]+ at 0x\[0-9a-f\]+"
+gdb_breakpoint "kill"
test_all_threads "slow with kill breakpoint" 1
return 0