This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [rfc] Cleanup restore.exp


> comments?

Did you test it?

In the copyright years, this file was also edited in 2001 and 2002.

 	# Continue to the next caller function.
-	gdb_test "continue" ".*/\\* caller$c \\*/" "run to caller$c"
+	gdb_test "continue" " caller$c .*" "run to caller$c"
 
This makes the search pattern little bit less specific,
but that's okay.  There are only two " caller$c " in the test
program and it's unlikely we would get a false negative by hitting
the wrong one.

Michael C

2004-07-16  Andrew Cagney  <cagney@gnu.org>

	* gdb.base/restore.exp: Update copyright, re-indent.
	(restore_tests): Use gdb_test_multiple.  Add "calleeN calls
	callerN" prefix where needed.  Simplify patterns.


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