gdb/2104: until command broken

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

gdb/2104: until command broken

Paul Brook

>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:     [hidden email]
>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: