This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: How do I get regexp from expect at gdb_expect?
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