This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Testsuite regression from nquery
- From: Jeff Johnston <jjohnstn at redhat dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 26 Feb 2004 14:37:06 -0500
- Subject: Re: Testsuite regression from nquery
- References: <20040225023342.GA15494@nevyn.them.org>
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"
}