This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Expect fails to recognize regexp
- From: Felix Lee <bdgle at tigerfood dot org>
- To: gdb at sources dot redhat dot com
- Date: Fri, 13 Sep 2002 17:53:07 -0700
- Subject: Re: Expect fails to recognize regexp
Corinna Vinschen <vinschen@redhat.com>:
> What I did was adding the following patch to gdb.exp:
are you sure the gdb.exp you're editing is the one that's
being used when you run tests, rather than a gdb.exp that's
'installed' somewhere? the path of the gdb.exp that's read is
mentioned somewhere in the gdb.log file.
or you can just add a
verbose "got here" 0
somewhere in the file to check.
btw, "." does match "\n", which you can verify by doing:
$ expect
expect1.1> regexp "." "\n"
1
--