This is the mail archive of the
gdb-testers@sources.redhat.com
mailing list for the GDB project.
sunday project report, gdb, 2002-05-26
- From: Michael Elizabeth Chastain <mec at shout dot net>
- To: gdb-testers at sources dot redhat dot com
- Date: Mon, 27 May 2002 12:43:32 -0500
- Subject: sunday project report, gdb, 2002-05-26
Both gdb and gcc/binutils have changes related to local nested classes.
Most of the changes are good; none of the bad ones are serious enough to
file bug reports.
Test script gdb.c++/local.exp has a lot of old hpux aCC cruft in it, which
hampers it from doing its job. I need to find access to an hpux machine
with aCC installed so that I can clean up this part of the test suite.
My tables are here:
http://www.shout.net/~mec/sunday/2002-05-26/index.html
Michael C
. Summary
. Test Matrix
. Matrix
target: native
host: i686-pc-linux-gnu%rh-7.2
gdb: 5.2, gdb_5_2-branch%20020526, HEAD%20020526
gcc: 2.95.3, 2.96-rh, 3.0.4, 3.1, gcc-3_1-branch%20020526, HEAD%20020526
glibc: vendor
goption: -gdwarf-2, -gstabs+
count: 36 = *(1 1 3 6 1 2)
. Notes
target and host names are gnu triples with extra information after
a '%' delimiter.
versions which start with a number are official releases or snapshots.
versions named "HEAD" are the cvs HEAD.
versions with any other name are cvs branches.
cvs versions show the pull date after a '%' delimiter.
gcc releases and snapshots are built with binutils 2.11.2.
. Libiberty
All tests passed.
. Gdb
. Tables
. http://www.shout.net/~mec/sunday/2002-05-26/index.html
. Overview
gdb 5.2: 0 build aborts, 0 test aborts, 495 attention lines
gdb gdb_5_2-branch: 0 build aborts, 0 test aborts, 495 attention lines
gdb HEAD: 0 build aborts, 0 test aborts, 307 attention lines
An attention line is a line with one or more attention results.
An attention result is any result except PASS. This includes
ERROR, WARNING, NOTE, FAIL, KPASS, KFAIL, XPASS, XFAIL, UNRESOLVED,
UNTESTED, UNSUPPORTED, and unknown results.
. Old Bugs Fixed
http://sources.redhat.com/cgi-bin/gnatsweb.pl?database=gdb&cmd=view&pr=553
gdb with -gdwarf2 fails with binutils HEAD%20020514
. New Bugs Detected
None.
. Test Protocol Changes Since Last Report
None.
. Baseline Software
. host i686-pc-linux-gnu%rh-7.2
make 3.79.1
binutils 2.11.2
gcc 3.0.4
flex 2.5.4
bison 1.35
tcl 8.3.4
expect 5.33.0
dejagnu 1.4.2 + FernandoN kfail patch.
. Analysis
. Libiberty
. Results
. target=native
. host=i686-pc-linux-gnu%rh-7.2
binutils HEAD All 648 tests passed
gcc gcc-3_1-branch All 648 tests passed
gcc HEAD All 648 tests passed
gdb gdb_5_2-branch All 648 tests passed
gdb HEAD All 648 tests passed
. Gdb
The last report was 2002-05-18.
http://www.shout.net/~mec/sunday/2002-05-18/Analysis.txt
Configuration numbers for the difference grids are in:
http://www.shout.net/~mec/sunday/2002-05-26/Differences-compare-by-date-two.html
Difference grid key:
+ gdb improved
- gdb regressed
$ gcc/binutils improved
= gcc/binutils regressed
@ test suite improved
~ test suite regressed
* new test with good result
_ new test with bad result
, noise: result changed but gdb behavior did not
. 5.2
. Difference Table
gdb.c++/annota2.exp ,00 ,01 ,02 ,03 ,06 ,09
gdb.c++/classes.exp $11
gdb.c++/local.exp =11
. Gcc/Binutils Improved
. gdb.c++/classes.exp: print (ClassWithEnum::PrivEnum) 42
With gcc HEAD binutils HEAD -gstabs+, this test improved:
# gdb 5.2, gcc HEAD%20020518, binutils HEAD%20020513, -gstabs+
print (ClassWithEnum::PrivEnum) 42^M
A parse error in expression, near `'.^M
(gdb) XFAIL: gdb.c++/classes.exp: print (ClassWithEnum::PrivEnum) 42
# gdb 5.2, gcc HEAD%20020526, binutils HEAD%20020526, -gstabs+
print (ClassWithEnum::PrivEnum) 42^M
$26 = yellow^M
(gdb) XPASS: gdb.c++/classes.exp: print (ClassWithEnum::PrivEnum) 42
This happens with the same gdb executable, so the improvement
is in gcc or binutils.
. Gcc/Binutils Regressed
. gdb.c++/local.exp: ptype NestedInnerLocal
With gcc HEAD binutils HEAD -gstabs+, this test regressed:
# gdb 5.2, gcc HEAD%20020518, binutils HEAD%20020513, -gstabs+
ptype NestedInnerLocal^M
type = class NestedInnerLocal {^M
public:^M
int nil;^M
^M
NestedInnerLocal & operator=(InnerLocal::NestedInnerLocal const&);^M
NestedInnerLocal(InnerLocal::NestedInnerLocal const&);^M
NestedInnerLocal();^M
int nil_foo(int);^M
}^M
(gdb) FAIL: gdb.c++/local.exp: ptype NestedInnerLocal
# gdb 5.2, gcc HEAD%20020526, binutils HEAD%20020526, -gstabs+
ptype NestedInnerLocal^M
No symbol "NestedInnerLocal" in current context.^M
(gdb) PASS: gdb.c++/local.exp: ptype NestedInnerLocal (known aCC limitation)
Yes, that transition from FAIL to PASS is a regression!
The test script has lots of nasty old hpux aCC patterns.
. Noise
. gdb.c++/annota2.exp: annotate-quit
This test is unstable.
. gdb_5_2-branch
. Difference Table
gdb.c++/annota2.exp ,15 ,18 ,19 ,20 ,22
gdb.c++/classes.exp $23
gdb.c++/local.exp =23
. Gcc/Binutils Improved
. gdb.c++/classes.exp: print (ClassWithEnum::PrivEnum) 42
With gcc HEAD binutils HEAD -gstabs+, this test improved.
See the analysis in gdb 5.2.
. Gcc/Binutils Regressed
. gdb.c++/local.exp: ptype NestedInnerLocal
With gcc HEAD binutils HEAD -gstabs+, this test regressed:
See the analysis in gdb 5.2.
. Noise
. gdb.c++/annota2.exp: annotate-quit
This test is unstable.
. HEAD
. Difference Table
.24 .25 .26 .27 .28 .29 .30 .31 .32 .33 .34 .35
gdb.c++/annota2.exp ,24 ,27 ,28 ,31 ,33 ,35
gdb.c++/classes.exp $35
gdb.c++/inherit.exp @33 @35
gdb.c++/local.exp -35
. Gdb Improved
. gdb.c++/local.exp: ptype InnerLocal
With gcc HEAD binutils HEAD -gstabs+, gdb improved its output for
printing types of nested classes. But the test accepts only the old
output, so the test needs to be updated.
. Gdb Regressed
. gdb.c++/local.exp: ptype NestedInnerLocal
With gcc HEAD binutils HEAD -gstabs+, this test regressed:
See the analysis in gdb 5.2.
. Gcc/Binutils Improved
. gdb.c++/classes.exp: print (ClassWithEnum::PrivEnum) 42
With gcc HEAD binutils HEAD -gstabs+, this test improved.
See the analysis in gdb 5.2.
. Test Suite Improved
. gdb.c++/inherit.exp: print g_vE
The test script now accepts v3 "<VTT for vD>" clauses in the output.
. Noise
. gdb.c++/annota2.exp: annotate-quit
This test is unstable.