[#6817] gdb test on bfin-uclinux has regression now

Document created by Aaronwu Employee on Oct 17, 2013
Version 1Show Document
  • View in full screen mode

[#6817] gdb test on bfin-uclinux has regression now

Submitted By: Mingquan Pan

Open Date

2011-10-14 04:34:13    

Priority:

Medium High     Assignee:

Mingquan Pan

Jim Adams

Board:

N/A     Silicon Revision:

Resolution:

Assigned (Not Started)     Fixed In Release:

N/A

Processor:

ALL     

Host Operating System:

toolchain rev.:

    kernel rev.:

State:

Open     Found In Release:

N/A

Is this bug repeatable?:

N/A     

Summary: gdb test on bfin-uclinux has regression now

Details:

 

gdb test on bfin-uclinux has regression, compared with results from 2010r1-rc4.

 

summary diff is like:

                       ******* gdb-6.6.sum ***********

=== gdb Summary ===             === gdb Summary ===      ()

# of expected passes            10126           # of expected passes          

10102    (-24)

# of unexpected failures        152             # of unexpected failures      

176      (24)

# of expected failures          42              # of expected failures        

42       (0)

# of known failures             60              # of known failures           

58       (-2)

# of unresolved testcases       11              # of unresolved testcases     

11       (0)

# of untested testcases         10              # of untested testcases       

10       (0)

# of unsupported tests          18              # of unsupported tests        

18       (0)

#########################################

#

# Comparing gdb-6.6.sum

#

########################################

Tests that now fail, but worked before:

 

bfin-uclinux: gdb.base/dbx.exp: stop at 43

bfin-uclinux: gdb.base/dbx.exp: stop in sum

bfin-uclinux: gdb.base/ptype.exp: ptype foo typedef after second list of

intfoo

bfin-uclinux: gdb.base/sigbpt.exp: cont bp after segv; continue to breakpoint

at fault

bfin-uclinux: gdb.base/sigbpt.exp: cont bp after segv; stepi fault

bfin-uclinux: gdb.base/sigbpt.exp: stepi bp before segv; stepi out of handler

bfin-uclinux: gdb.cp/psmang.exp: break s::method1

bfin-uclinux: gdb.cp/psmang.exp: break s::method2

bfin-uclinux: gdb.mi/mi2-break.exp: list of breakpoints

bfin-uclinux: gdb.mi/mi2-file.exp: request path info of current source file

(basics.c)

bfin-uclinux: gdb.mi/mi2-syn-frame.exp: list stack frames

bfin-uclinux: gdb.mi/mi2-until.exp: break-insert operation

bfin-uclinux: gdb.mi/mi-break.exp: list of breakpoints

bfin-uclinux: gdb.mi/mi-file.exp: request path info of current source file

(basics.c)

bfin-uclinux: gdb.mi/mi-until.exp: break-insert operation

bfin-uclinux: gdb.objc/basicclass.exp: breakpoint in category method

bfin-uclinux: gdb.objc/basicclass.exp: continue until method breakpoint

bfin-uclinux: gdb.objc/basicclass.exp: print self

bfin-uclinux: gdb.objc/basicclass.exp: resetting breakpoints when rerunning

bfin-uclinux: gdb.objc/basicclass.exp: Use of the po (print-object) command

 

Tests that now work, but didn't before:

 

bfin-uclinux: gdb.base/define.exp: test ifnospace is parsed correctly

bfin-uclinux: gdb.base/define.exp: test whilenospace is parsed correctly

bfin-uclinux: gdb.mi/mi2-basics.exp: all breakpoints removed

bfin-uclinux: gdb.mi/mi2-basics.exp: environment-directory arg operation

bfin-uclinux: gdb.mi/mi2-basics.exp: environment-directory empty-string

operation

bfin-uclinux: gdb.mi/mi2-basics.exp: environment-directory operation

bfin-uclinux: gdb.mi/mi2-break.exp: list of breakpoints

bfin-uclinux: gdb.mi/mi2-syn-frame.exp: list stack frames

bfin-uclinux: gdb.mi/mi-break.exp: list of breakpoints

 

New tests that FAIL:

 

bfin-uclinux: gdb.base/sigbpt.exp: stepi bp before and at segv; stepi out of

handler

bfin-uclinux: gdb.cp/misc.exp: source language not correct for C++ (psymtabs

only)

bfin-uclinux: gdb.mi/mi2-until.exp: run to main (2)

bfin-uclinux: gdb.mi/mi2-until.exp: until after current function (timeout)

bfin-uclinux: gdb.mi/mi2-until.exp: until after while loop (timeout)

bfin-uclinux: gdb.mi/mi2-until.exp: until line number:file (timeout)

bfin-uclinux: gdb.mi/mi2-until.exp: until line number (timeout)

bfin-uclinux: gdb.mi/mi-until.exp: run to main (2)

bfin-uclinux: gdb.mi/mi-until.exp: until after current function (timeout)

bfin-uclinux: gdb.mi/mi-until.exp: until after while loop (timeout)

bfin-uclinux: gdb.mi/mi-until.exp: until line number:file (timeout)

bfin-uclinux: gdb.mi/mi-until.exp: until line number (timeout)

bfin-uclinux: gdb.objc/basicclass.exp: continue until category method (the

program is no longer running)

bfin-uclinux: gdb.objc/basicclass.exp: source language not correct for

Objective-C (psymtabs only)

 

Follow-ups

 

--- Mingquan Pan                                             2012-05-15 02:21:36

It looks this issue relates to the toolchain package to be tested.

If the toolchain is installed from the rpm package, then gdb testing would have

more passes like about 1012x, but if the toolchain is built from build script

Buildtoolchain, then its passing number would be 101xx.

 

--- Stuart Henderson                                         2012-06-08 12:52:06

i've just installed the packages to the default directory from the RPMs and ran

the gdb tests:

### New: gdb-6.6.sum in

/home/shender/gnu-build/toolchain/tags/2012R1-BETA1/tests/uclinux

                === gdb Summary ===

# of expected passes            10128

# of unexpected failures        150

# of expected failures          42

# of known failures             60

# of unresolved testcases       11

# of untested testcases         10

# of unsupported tests          18

 

Is this consistently reproducible?

 

--- Mingquan Pan                                             2012-06-15 04:45:53

yeah, your results are right.

but if you test from the toolchain built from Buildtoolchain, you could get:

                === gdb Summary ===

 

# of expected passes            10106

# of unexpected failures        172

# of expected failures          42

# of known failures             58

# of unresolved testcases       11

# of untested testcases         10

# of unsupported tests          18

 

so there is always some difference between these two results(1012x vs 1010x):

 

                       ******* gdb-6.6.sum ***********

=== gdb Summary ===             === gdb Summary ===      ()

# of expected passes            10128           # of expected passes          

10106    (-22)

# of unexpected failures        150             # of unexpected failures      

172      (22)

# of expected failures          42              # of expected failures        

42       (0)

# of known failures             60              # of known failures           

58       (-2)

# of unresolved testcases       11              # of unresolved testcases     

11       (0)

# of untested testcases         10              # of untested testcases       

10       (0)

# of unsupported tests          18              # of unsupported tests        

18       (0)

 

#########################################

#

# Comparing gdb-6.6.sum

#

########################################

Tests that now fail, but worked before:

 

bfin-uclinux: gdb.base/dbx.exp: stop at 43

bfin-uclinux: gdb.base/dbx.exp: stop in sum

bfin-uclinux: gdb.base/ptype.exp: ptype foo typedef after second list of

intfoo

bfin-uclinux: gdb.cp/psmang.exp: break s::method1

bfin-uclinux: gdb.cp/psmang.exp: break s::method2

bfin-uclinux: gdb.mi/mi2-break.exp: list of breakpoints

bfin-uclinux: gdb.mi/mi2-file.exp: request path info of current source file

(basics.c)

bfin-uclinux: gdb.mi/mi2-syn-frame.exp: list stack frames

bfin-uclinux: gdb.mi/mi2-until.exp: break-insert operation

bfin-uclinux: gdb.mi/mi-break.exp: list of breakpoints

bfin-uclinux: gdb.mi/mi-file.exp: request path info of current source file

(basics.c)

bfin-uclinux: gdb.mi/mi-until.exp: break-insert operation

bfin-uclinux: gdb.objc/basicclass.exp: breakpoint in category method

bfin-uclinux: gdb.objc/basicclass.exp: continue until method breakpoint

bfin-uclinux: gdb.objc/basicclass.exp: print self

bfin-uclinux: gdb.objc/basicclass.exp: resetting breakpoints when rerunning

bfin-uclinux: gdb.objc/basicclass.exp: Use of the po (print-object) command

 

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

Oct15_gdb.tar.gz    application/x-gzip    322568    Mingquan Pan

Attachments

Outcomes