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]

Re: [RFA] Fix for gdb-gnats bug #14



Resending this being careful about tabs.

Note that this was tested using gcc version 2.97 (cvs version)
built on Feb 13th.

 
The fix was tested on Red Hat Linux 7.0 with 2.4 kernel.
 
2001-02-16  John Moore  <jmoore@redhat.com>
 
	* gdb.base/commands.exp (infrun_breakpoint_command_test):
	Removed non-expected items following a "step" command
	(see gnats bug report for gdb #14).

Index: gdb.base/commands.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/commands.exp,v
retrieving revision 1.6
diff -p -u -w -r1.6 gdb/testsuite/gdb.base/commands.exp
--- commands.exp	2000/10/24 18:36:32	1.6
+++ commands.exp	2001/02/16 17:48:18
@@ -210,17 +210,8 @@ proc infrun_breakpoint_command_test {} {
 	gdb_test "continue" \
 		"Breakpoint \[0-9\]*, factorial \\(value=5\\).*at.*
 \[0-9\]*\[ 	\]*if \\(value > 1\\) \{.*
-\[0-9\]*\[ 	\]*value \\*= factorial \\(value - 1\\);.*
-factorial \\(value=4\\) at.*\[0-9\]*\[ 	\]*if \\(value > 1\\) \{.*
-\[0-9\]*\[ 	\]*value \\*= factorial \\(value - 1\\);.*
-factorial \\(value=3\\) at .*
-\[0-9\]*\[ 	\]*if \\(value > 1\\) \{.*
-#0  factorial \\(value=3\\).*
-#1  \[0-9a-fx\]* in factorial \\(value=4\\).*
-#2  \[0-9a-fx\]* in factorial \\(value=5\\).*
-#3  \[0-9a-fx\]* in factorial \\(value=6\\).*
-#4  \[0-9a-fx\]* in main \\(.*\\).*" \
-		"continue in infrun_breakpoint_command_test";
+\[0-9\]*\[ 	 \]*value \\*= factorial \\(value - 1\\);.*" \
+		"continue in infrun_breakpoint_command_test"
     }
 
     gdb_stop_suppressing_tests;


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