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: [RFC] gdb.cp/static-print-quit.exp: fix racy tests (PR testsuite/12649)


> > +set test "print c - to quit"
> > +gdb_test_multiple "" $test {
> >      -re " to quit---$" {
> 
> the `-re' are in fact not needed since we don't use any regexps in the
> string.  However, they certainly do no harm so no need to remove them.
> Thanks again, Jan.

  Just a small question about this,
from the expect beginner that I still am:

isn't the dollar sign a regexpr pattern meaning end of string?
Would it really work without -re here?


Pierre Muller
GDB pascal language maintainer




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