This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]