This is the mail archive of the gdb-patches@sourceware.org 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: Regression for implptr.exp and pieces.exp [Re: [COMMIT PATCH] value_bits_valid: Fix latent bug.]


On Tue, 09 Jul 2013 16:15:54 +0200, Andrew Burgess wrote:
> On 09/07/2013 10:54 AM, Jan Kratochvil wrote:
> > 9f5e30f7cf73a3256fbb9a265c897aa3f2c91439 is the first bad commit
> > commit 9f5e30f7cf73a3256fbb9a265c897aa3f2c91439
> > Author: aburgess <aburgess>
> > Date:   Mon Jul 8 10:21:33 2013 +0000
> > 
> >     Fix bug in value_bits_valid.
> >     
> >     http://sourceware.org/ml/gdb-patches/2013-07/msg00174.html
> >     
> >     	* value.c (value_bits_valid): If the value is not lval_computed
> >     	or has no check validity handler then the answer is the
> >     	optimized_out flag, otherwise defer to the handler.
> > 
> >  Running gdb/testsuite/gdb.dwarf2/implptr.exp ...
> > -PASS: gdb.dwarf2/implptr.exp: print j in implptr:bar
> > +FAIL: gdb.dwarf2/implptr.exp: print j in implptr:bar
> > -PASS: gdb.dwarf2/implptr.exp: print p[0].x in implptr:foo
> > +FAIL: gdb.dwarf2/implptr.exp: print p[0].x in implptr:foo
> > 
> >  Running gdb/testsuite/gdb.dwarf2/pieces.exp ...
> > -PASS: gdb.dwarf2/pieces.exp: print a.i in pieces:f3
> > -PASS: gdb.dwarf2/pieces.exp: print a.j in pieces:f3
> > -PASS: gdb.dwarf2/pieces.exp: set a.i in pieces:f3
> > -PASS: gdb.dwarf2/pieces.exp: print new a.i in pieces:f3
> > +FAIL: gdb.dwarf2/pieces.exp: print a.i in pieces:f3
> > +FAIL: gdb.dwarf2/pieces.exp: print a.j in pieces:f3
> > +FAIL: gdb.dwarf2/pieces.exp: set a.i in pieces:f3
> > +FAIL: gdb.dwarf2/pieces.exp: print new a.i in pieces:f3
> 
> I've committed a patch to revert all the changes done by Pedro and
> myself to value_bits_valid,

Confirming the temporary regression has been fixed by:

commit 34b2792f3cdf8d24d665257b56c6c576a8dfa27c
Author: aburgess <aburgess>
Date:   Tue Jul 9 14:11:53 2013 +0000

    Revert recent changes to value_bits_valid.
    
      http://sourceware.org/ml/gdb-patches/2013-07/msg00243.html
    
      * value.c (value_bits_valid): Revert previous change, and change
      by Pedro on 2013-07-04, due to regressions in
      gdb.dwarf2/implptr.exp and gdb.dwarf2/pieces.exp.


Jan


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