This is the mail archive of the gdb-patches@sourceware.org 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: [resubmit] gdb.base, r*.exp thru w*.exp


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


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