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: MI-related testsuite regressions


On Tue, Jun 28, 2005 at 12:01:36AM +1200, Nick Roberts wrote:
>  > I see a fair number of new testsuite regressions:
>  > 
>  > -PASS: gdb.mi/mi2-stack.exp: stack select same frame
>  > +FAIL: gdb.mi/mi2-stack.exp: stack select same frame
> 
> Yes.  These are due to my changes.

I'm going to echo Mark here.  I assumed that you would not post a patch
which introduced failures in the testsuite.

>  Currently the default MI interpreter *is*
> mi2, so these tests are just duplicated.  It would seem sensible, and save
> effort, to have just one file (mi-stack.exp) until the MI version is bumped
> up one number.  Then mi-stack.exp could be renamed mi2-stack.exp and a new
> file mi-stack.exp could be created.
> 
> In reality GDB doesn't support more than one version of MI (the current one).
> As has been shown on the mailing list recently, even MI output from GDB 6.3
> differs from MI output from GDB in CVS.

mi2 is a released protocol; the intent is that we not make
backwards-incompatible changes to mi2-*.exp, at least not without
paying close attention to them.  -i=mi sets mi_version to 3 today. 
Until we're ready to declare mi3 usable, we need to continue caring
about mi2.

You removed the parallel to this failing test from mi-stack.exp; I
assume it should be removed from mi2-stack.exp also?

>  > -PASS: gdb.mi/mi2-var-block.exp: step at do_block_test
>  > -PASS: gdb.mi/mi2-var-block.exp: create local variable foo2
>  > +FAIL: gdb.mi/mi2-var-block.exp: step at do_block_test (stopped at wrong place)
>  > +FAIL: gdb.mi/mi2-var-block.exp: create local variable foo2
>  > 
>  > -PASS: gdb.mi/mi2-var-block.exp: step at do_block_test
>  > +FAIL: gdb.mi/mi2-var-block.exp: step at do_block_test (stopped at wrong place)
>  > 
>  > -PASS: gdb.mi/mi2-var-block.exp: step at do_block_test
>  > +FAIL: gdb.mi/mi2-var-block.exp: step at do_block_test (stopped at wrong place)
>  > 
>  > -PASS: gdb.mi/mi2-var-block.exp: update cb
>  > +FAIL: gdb.mi/mi2-var-block.exp: update cb
>  > 
>  > -PASS: gdb.mi/mi2-var-block.exp: delete var foo2
>  > +FAIL: gdb.mi/mi2-var-block.exp: delete var foo2
> 
> > They seem all to be related to your recent changes.
> 
> I can't see how these relate to my changes.  I have submitted a patch for
> variable objects, but it still hasn't been approved.  I don't understand why
> mi-var-block.exp doesn't fail at the same places.

Mark, could you post a bit of gdb.log?  I don't see these.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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