gdb/2104: until command broken

paul@codesourcery.com paul@codesourcery.com
Thu Mar 30 16:18:00 GMT 2006


>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:



More information about the Gdb-prs mailing list