This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[ob] Make selftest.exp catch up with reality
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb-patches at sourceware dot org
- Date: Sat, 26 Jan 2008 14:56:43 +0100 (CET)
- Subject: [ob] Make selftest.exp catch up with reality
The code in captured_main() changed again. This makes selftest.exp
catch up, removing some testsuite regressions on my OpenBSD systems.
Committed as obvious.
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
Index: gdb.gdb/selftest.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.gdb/selftest.exp,v
retrieving revision 1.15
diff -u -p -r1.15 selftest.exp
--- gdb.gdb/selftest.exp 1 Jan 2008 22:53:19 -0000 1.15
+++ gdb.gdb/selftest.exp 26 Jan 2008 13:41:26 -0000
@@ -75,10 +75,18 @@ proc do_steps_and_nexts {} {
set description "step over execarg initialization"
set command "step"
}
+ -re ".*pidarg = NULL.*$gdb_prompt $" {
+ set description "step over pidarg initialization"
+ set command "step"
+ }
-re ".*corearg = NULL.*$gdb_prompt $" {
set description "step over corearg initialization"
set command "step"
}
+ -re ".*pid_or_core_arg = NULL.*$gdb_prompt $" {
+ set description "step over pid_or_core_arg initialization"
+ set command "step"
+ }
-re ".*cdarg = NULL.*$gdb_prompt $" {
set description "step over cdarg initialization"
set command "step"