This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [resubmit] gdb.base, r*.exp thru w*.exp
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Michael Snyder <msnyder at vmware dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Thu, 20 May 2010 23:14:46 +0200
- Subject: Re: [resubmit] gdb.base, r*.exp thru w*.exp
- References: <4BF59BBB.8020603@vmware.com>
On Thu, 20 May 2010 22:29:47 +0200, Michael Snyder wrote:
> + -re ".*in main after func1.*$gdb_prompt $" {
Sorry for not a complete review but for this case there should be:
-re ".*in main after func1.*\r\n$gdb_prompt $" {
or lib/gdb.exp proc gdb_test is using:
-re ".*in main after func1.*[\r\n]+$gdb_prompt $" {
as just "$gdb_prompt $" is needlessly weak in practical cases causing false
positives.
Thanks,
Jan