This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] Properly anchor gdb_test_multiple in bfp-test.exp
- From: Daniel Jacobowitz <drow at false dot org>
- To: Wu Zhou <woodzltc at cn dot ibm dot com>
- Cc: kettenis at gnu dot org, gdb-patches at sourceware dot org
- Date: Tue, 1 Nov 2005 08:54:39 -0500
- Subject: Re: [commit] Properly anchor gdb_test_multiple in bfp-test.exp
- References: <200510311600.j9VG0mi7019020@jop31.nfra.nl> <Pine.LNX.4.63.0511011745540.25580@linux.site>
On Tue, Nov 01, 2005 at 05:47:49PM +0800, Wu Zhou wrote:
> Thanks, Kettenis. I had one question though.
>
> On Mon, 31 Oct 2005, kettenis@gnu.org wrote:
>
> [snip]
>
> > - -re "Invalid number" {
> > + -re "Invalid number.*$gdb_prompt $" {
>
> Could this used in gdb_test? When I used it in gdb_test, it always report
> FAIL.
Correct. You have to anchor for gdb_expect and gdb_test_multiple, but
not gdb_test.
--
Daniel Jacobowitz
CodeSourcery, LLC