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
>Originator:     [hidden email]
>Release:        gdb-6.4
Probably anything gcc4 based
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
Run mi-until.exp from the gdb testsuite with a gcc4.x based compiler
until command termination should be absed on source lines, not instruction addresses.