This is the mail archive of the 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]

PATCH: Fix a regexp in gdb.c++/casts.exp test

Found this while I was working on gdb_test_multiple this morning.  We didn't
see the fail because we don't call fail for gdb_test when message is ""...
Checked in.

Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

2003-01-04  Daniel Jacobowitz  <>

	* gdb.c++/casts.exp: Correct regexp.

Index: gdb.c++/casts.exp
RCS file: /cvs/src/src/gdb/testsuite/gdb.c++/casts.exp,v
retrieving revision 1.1
diff -u -p -r1.1 casts.exp
--- gdb.c++/casts.exp	2 Oct 2002 21:46:56 -0000	1.1
+++ gdb.c++/casts.exp	4 Jan 2003 22:29:41 -0000
@@ -1,4 +1,4 @@
-# Copyright 2002 Free Software Foundation, Inc.
+# Copyright 2002, 2003 Free Software Foundation, Inc.
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -59,7 +59,7 @@ gdb_test "break [gdb_get_line_number "ca
     "Breakpoint.*at.* file .*" \
-gdb_test "run" "Breakpoint .* at" ""
+gdb_test "run" "Breakpoint .* at .**" ""
 # Casting a pointer to a base class to a pointer to a derived class
 # should yield the entire derived class.  Until August 2002, GDB got

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