How do I get regexp from expect at gdb_expect?
Daniel Jacobowitz
drow@false.org
Mon Jan 31 22:04:00 GMT 2005
On Mon, Jan 31, 2005 at 05:00:50PM -0500, Bob Rossi wrote:
> It also tighten's up the MI output command matching, I honestly don't
> know how the -break-delete was getting eaten in the regular expression,
> unless $pattern happened to have a .*. Oops, in that case, I guess we
> aren't really validation much, anything could have come out of GDB, and
> it probably would have passed.
Your pattern doesn't start with an anchor. -break-delete wasn't eaten;
we just started matching after it.
--
Daniel Jacobowitz
More information about the Gdb
mailing list