This is the mail archive of the gdb@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: Testsuite regression from nquery


Thanks for catching this. Attached patch checked in as obvious.

-- Jeff J.

2004-02-26 Jeff Johnston <jjohnstn@redhat.com>

        * gdb.base/langs.exp: Update query string to match the
        new nquery format used for pending breakpoints.



Daniel Jacobowitz wrote:
Apparently langs.exp needs to be updated also.

(gdb) b langs0
Function "langs0" not defined.
Make breakpoint pending on future shared library load? (y or [n]) FAIL:
gdb.base/langs.exp: break on non
existent function in langs.exp (timeout)
delete breakpoints
Please answer y or [n].
Make breakpoint pending on future shared library load? (y or [n]) ERROR:
Delete all breakpoints in delet
e_breakpoints (timeout)
break csub

Index: langs.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/langs.exp,v
retrieving revision 1.3
diff -u -r1.3 langs.exp
--- langs.exp	2 Feb 2004 21:14:33 -0000	1.3
+++ langs.exp	26 Feb 2004 19:35:42 -0000
@@ -66,7 +66,7 @@
 gdb_load $binfile
 
 gdb_test_multiple "b langs0" "break on nonexistent function in langs.exp" {
-	-re "Function \"langs0\" not defined\..*Make breakpoint pending on future shared library load.*y or n. $" {
+	-re "Function \"langs0\" not defined\..*Make breakpoint pending on future shared library load.*y or .n.. $" {
 
 		gdb_test "n" "" "break on nonexistent function in langs.exp"
 	}

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