This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/379: Regression: The step command does not stop in the right place.
- From: mec at shout dot net
- To: gdb-gnats at sources dot redhat dot com
- Date: 24 Feb 2002 06:57:20 -0000
- Subject: gdb/379: Regression: The step command does not stop in the right place.
- Reply-to: mec at shout dot net
>Number: 379
>Category: gdb
>Synopsis: Regression: The step command does not stop in the right place.
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Feb 23 22:58:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: mec@shout.net
>Release: gdb HEAD%20020222
>Organization:
>Environment:
[target=native host=i686-pc-linux-gnu%rh-7.2 gdb=HEAD%20020222 gcc=2.95.3 glibc=vendor goption=-gstabs+]
>Description:
The step command fails to stop in the right place.
This desynchronizes several test scripts:
gdb.base/call-ar-st.exp: many tests
gdb.base/display.exp: many tests
gdb.base/funcargs.exp: many tests
gdb.base/shlib-call.exp: step into mainshr1
gdb.base/step-line.exp: many tests
gdb.base/step-test.exp: large struct by value
gdb.mi/simplerun.exp: exec-finish
gdb.mi/simplerun.exp: step at main
gdb.mi/simplerun.exp: step to callee4
gdb.mi0/simplerun.exp: exec-finish
gdb.mi0/simplerun.exp: step at main
gdb.mi0/simplerun.exp: step to callee4
These are regressions versus gdb=HEAD%20020216.
The bug is sensitive to the gcc version and the goption.
Here is an excerpt from gdb.log:
(gdb) PASS: gdb.base/step-test.exp: run to pass large struct
step
59 exit (0);
(gdb) FAIL: gdb.base/step-test.exp: large struct by value
>How-To-Repeat:
Download gdb from cvs HEAD dated 20020222.
Use gcc 2.95.3 as the compiler to build test programs.
Run step-line.exp and step-test.exp (these are the purest test programs).
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: