Community
Participate
Working Groups
With the change I made to bug 431986, I messed up the deletion of breakpoints from the gdb console. To reproduce: 1- start a program with a bp 2- from the gdb console delete that breakpoint => that breakpoint will remain installed. Looking at the gdb traces one can see it was deleted and installed again in GDB I am investigating now.
When deleting a breakpoint from the gdb console, the corresponding platform breakpoint remains enabled, as it should. The problem is that because the platform breakpoint is enabled, we will try to re-install it at the first opportunity. We need a way to specify that for a particular session, the platform breakpoint should not be re-installed. This was done before by completely filtering out (using thread filtering) the breakpoint from the processes of the debug session in MIBreakpointsManager#uninstallBreakpoint(). I mistakenly removed this in bug 431986 because I didn't consider the particular scenario of uninstalling a breakpoint while keeping the platform one enabled. I added back this logic: https://git.eclipse.org/r/25266 I also enhanced the JUnit tests to verify this case. Mikhail, can you have a look?
Committed to master. Thanks Mikhail.