This is the mail archive of the
gdb-testers@sources.redhat.com
mailing list for the GDB project.
Special report: gdb 5.1 versus gdb 5.1.1
- From: Michael Elizabeth Chastain <mec at shout dot net>
- To: gdb-testers at sources dot redhat dot com
- Date: Sun, 3 Feb 2002 12:01:36 -0600
- Subject: Special report: gdb 5.1 versus gdb 5.1.1
Special report: gdb 5.1 versus gdb 5.1.1
Usually I compare across time: previous results versus current results for
a given configuration. This report is across versions: gdb 5.1 versus
gdb 5.1.1 using the same software.
Summary: there is one regression from 5.1 to 5.1.1 in gdb.base/interrupt.exp.
The test matrix is:
target: i686-pc-linux-gnulibc2.2-rh7.2
host: native
dates: 2002-02-01T23:20:11-0800 to 2002-02-01T23:47:29-0800
gdb: 5.1, 5.1.1
gcc: 2.95.3, 3.0.2, 3.0.3, gcc-3_0-branch, HEAD
format: -gdwarf-2, -gstabs+
Baseline software:
gnu make 3.79.1
binutils 2.11.2
gcc 3.0.3
tcl 8.3.4
expect 5.33.0
dejagnu 1.4.2
There are significant differences in these configurations:
native i686-pc-linux-gnulibc2.2-rh7.2, gcc HEAD, -gdwarf2
gdb 5.1 does not work at all in this configuration due to new dwarf2
constructs that it does not understand.
gdb 5.1.1 works reasonably well.
native i686-pc-linux-gnulibc2.2-rh7.2, gcc HEAD, -gstabs+
gdb 5.1 has 24 ERRORs, 2 WARNINGs, and 304 FAILs. This is probably
not usable.
gdb 5.1.1 has 0 ERRORs, 0 WARNINGs, and 181 FAILs. This is similar
to other configurations and is mostly better than gdb 5.1.
gdb.base/interrupt.exp has a regression in this configuration.
Here are log excerpts:
# gdb 5.1, gcc-HEAD, -gstabs+
(gdb) PASS: gdb.base/interrupt.exp: call function a second time
continue
Continuing.
PASS: gdb.base/interrupt.exp: continue
data
PASS: gdb.base/interrupt.exp: echo data
Unknown error 512
data
end of file
Program exited normally.
(gdb) XPASS: gdb.base/interrupt.exp: send end of file
testcase /berman/migchain/source/gdb-5.1/gdb/testsuite/gdb.base/interrupt.exp completed in 3 seconds
# gdb 5.1.1, gcc-HEAD, -gstabs+
(gdb) PASS: gdb.base/interrupt.exp: call function a second time
continue
Continuing.
Unknown error 512
FAIL: gdb.base/interrupt.exp: continue (timeout)
data
data
FAIL: gdb.base/interrupt.exp: echo data (timeout)
end of file
Program exited normally.
(gdb) XPASS: gdb.base/interrupt.exp: send end of file
testcase /berman/migchain/source/gdb-5.1.1/gdb/testsuite/gdb.base/interrupt.exp completed in 123 seconds
This test script works correctly for gdb-HEAD on all five compilers
(gcc 2.95.3, gcc 3.0.2, gcc 3.0.3, gcc gcc-3_0-branch, gcc HEAD)
and two debug formats (-gdwarf-2, -gstabs+). So I am going to file
a PR on this, leave it open for a few days in case people want to
comment on it, and then close the PR.