This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/611: gdbserver fails to stop on conditional branches using stepi on strongarm
- From: kenelson at llnl dot gov
- To: gdb-gnats at sources dot redhat dot com
- Date: 23 Jul 2002 18:39:05 -0000
- Subject: gdb/611: gdbserver fails to stop on conditional branches using stepi on strongarm
- Reply-to: kenelson at llnl dot gov
>Number: 611
>Category: gdb
>Synopsis: gdbserver fails to stop on conditional branches using stepi on strongarm
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 23 11:48:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: kenelson@llnl.gov
>Release: unknown-1.0
>Organization:
>Environment:
arm-linux target running gdbserver 5.2, host running debian woody with gdb-5.2 targeted to arm-linux
>Description:
While debugging an arm binary remotely, I attempted to use the stepi command. It worked perfectly until it hits the first conditional branch at which point gdbserver just went to the exit of the program. I was only able to replicate it when debugging a static library (libfloat.a).
Because this bug is very difficult to replicate I do not expect it will be possible to fix unless a better means of replicating it can be found.
>How-To-Repeat:
Compile libfloat.a for strongarm target.
Compile a simple program like "main() { float f; f=f+1.0f; }" with soft-float.
Specify remote debugging session.
Break on main.
Stepi into libfloat (f=f+1.0f).
Program with run to completion on first conditional branch.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: