Bug 292821
| Summary: | debug_ipint.py lldb extension does not always correctly display the current instruction | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Vassili Bykov <v_bykov> |
| Component: | Tools / Tests | Assignee: | Vassili Bykov <v_bykov> |
| Status: | RESOLVED FIXED | ||
| Severity: | Enhancement | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Vassili Bykov
The extension finds the current instruction by matching the current PC location against the load addresses of breakpoints set at instruction entry points by the 'set_breakpoints' command. However, if the user issues 'set_breakpoints' at the start of the debug session, before actually starting the program, the breakpoints are not yet resolved and the 'breakpoint_locs' array is populated with invalid addresses. In that case, current instruction is not displayed for the rest of the debug session.
A patch will follow to address this.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/151074679>
Vassili Bykov
Pull request: https://github.com/WebKit/WebKit/pull/45209
EWS
Committed 294765@main (1b9c41dab201): <https://commits.webkit.org/294765@main>
Reviewed commits have been landed. Closing PR #45209 and removing active labels.