This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Fully anchor mi_gdb_test expected results.
- From: Bob Rossi <bob at brasko dot net>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 17 Sep 2005 22:09:08 -0400
- Subject: Re: Fully anchor mi_gdb_test expected results.
- References: <20050804141750.GA11536@nevyn.them.org> <20050804142601.GC4054@white> <20050804143238.GA11996@nevyn.them.org> <20050804203704.GA4472@white> <20050804205747.GA22030@nevyn.them.org> <20050804211834.GD4472@white> <20050804224044.GB4931@white> <20050804224351.GA25174@nevyn.them.org> <20050804234959.GC4931@white> <20050918013154.GR8777@nevyn.them.org>
On Sat, Sep 17, 2005 at 09:31:55PM -0400, Daniel Jacobowitz wrote:
> On Thu, Aug 04, 2005 at 07:49:59PM -0400, Bob Rossi wrote:
> > On Thu, Aug 04, 2005 at 06:43:51PM -0400, Daniel Jacobowitz wrote:
> > > On Thu, Aug 04, 2005 at 06:40:44PM -0400, Bob Rossi wrote:
> > > > Here are my testsuite results. The first one looks like a bug I
> > > > introduced, and the others look like random thread pass/failures. Is
> > > > that correct?
> > >
> > > Yes. Does removing two backslashes in sizeof.exp fix it? They
> > > shouldn't have been there at all.
> >
> > Geez Daniel, thanks for all the help. Here is the patch that plays
> > nicely with the testsuite. I captured both the MI input command and the
> > MI output command. Eventually testing can be done on the MI input
> > command also.
>
> Hi Bob,
>
> I don't remember - what's the status of this patch? I think there were
> no more problems with it.
I'm still working on this patch, I should be able to post something next
week though.
> I'm a bit curious about this though:
>
> > + -re "^(.*$string_regex.*)($pattern\[\r\n\]+$mi_gdb_prompt\[ \]*)$" {
> > + # At this point, $expect_out(1,string) is the MI input command.
> > + # and $expect_out(2,string) is the MI output command.
>
> Seems like the .*'s there are really defeating the point of anchoring
> it!
Yeah, I'll try to make sure this goes away.
Thanks,
Bob Rossi