| Summary: | [breakpoints] Duplicate GDB breakpoints do not get associated to the platform bp properly | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Marc Khouzam <marc.khouzam> |
| Component: | cdt-debug-dsf-gdb | Assignee: | Marc Khouzam <marc.khouzam> |
| Status: | RESOLVED FIXED | QA Contact: | Marc Khouzam <marc.khouzam> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug, nobody, pawel.1.piech |
| Version: | Next | ||
| Target Milestone: | 8.2 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Marc Khouzam
To reproduce simply: - launch a debug session - create a platform bp on that session - from the gdb console create a bp at the same line => if the platform bp is disabled or deleted, the bp created from the gdb console is not disabled or deleted in GDB and will still cause execution to stop Intead, we want any action on the platform bp to affect all target breakpoints at that line. Mikhail's suggestion of "Removing 'Minimal validation' code from IBreakpointsManager.installBreakpoint()" does seem to work fine. I will look into it a little further before posting a patch. (In reply to comment #1) > Mikhail's suggestion of "Removing 'Minimal validation' code from > IBreakpointsManager.installBreakpoint()" does seem to work fine. I will > look into it a little further before posting a patch. That looks right to me. It also works when creating a breakpoint from the console for a specific thread. I've pushed that to Gerrit: https://git.eclipse.org/r/9460 (In reply to comment #2) > I've pushed that to Gerrit: > https://git.eclipse.org/r/9460 Committed to master. |