| Summary: | Pending breakpoints in shared objects do not work in CDT | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Alexandre Rusev <cyberflex> | ||||
| Component: | cdt-debug-cdi-gdb | Assignee: | Project Inbox <cdt-debug-cdi-gdb-inbox> | ||||
| Status: | RESOLVED WONTFIX | QA Contact: | Elena Laskavaia <elaskavaia.cdt> | ||||
| Severity: | minor | ||||||
| Priority: | P3 | CC: | daniel, pawel.1.piech | ||||
| Version: | 0 DD 1.1 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Alexandre Rusev
3. see that pending breakpoints are malfunctioning in UI and may even not hit at execution In the bug #248595 the patch was suggested https://bugs.eclipse.org/bugs/attachment.cgi?id=150853 This patch: [1] verifies if GDB supports "pending breakpoints" feature and uses it if it does [2] enables propagation of MIBreakpointChangedEvent-s to UI [3] fixes the issue that for pending breakpoints after the shared object loading the FunctionBreakpoint may be created (and shown in UI as if it was placed in ELF file but not in C-source) instead of LineNumberBreakpoint even thought the GDB already reported all needed information Created attachment 151945 [details] Patch from bug 248595 (this is part of a batch change) The CDI debug implementation has been removed in CDT 9.0. Please see bug 484900 and the entry on the New and Noteworthy page https://wiki.eclipse.org/CDT/User/NewIn90#API_modifications |