This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
gdb/2104: until command broken
- From: paul at codesourcery dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 30 Mar 2006 16:11:47 -0000
- Subject: gdb/2104: until command broken
- Reply-to: paul at codesourcery dot com
>Number: 2104
>Category: gdb
>Synopsis: until command broken
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 30 16:18:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: paul@codesourcery.com
>Release: gdb-6.4
>Organization:
>Environment:
arm-linux/gcc4
Probably anything gcc4 based
>Description:
The "until" command should step until a source line greater than the current location is reached. The current implementation steps intil an instruction with an address greater than that of the current source line is reached.
With recent gcc (4.x) this occurs when debugging unoptimized loop code.
For full details see
http://sourceware.org/ml/gdb-patches/2006-03/msg00350.html
>How-To-Repeat:
Run mi-until.exp from the gdb testsuite with a gcc4.x based compiler
>Fix:
until command termination should be absed on source lines, not instruction addresses.
>Release-Note:
>Audit-Trail:
>Unformatted: