This is the mail archive of the gdb@sources.redhat.com 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: 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
--


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