Community
Participate
Working Groups
Created attachment 177121 [details] Fix The solution to bug 280631 does not work for GDB 7.0 or later. This is because in that case, when we clear GDBProcesses_7_0.fThreadCommandCache using e.getDMContext(), this context is a Container context; on the other hand, when we use fThreadCommandCache, we use it with a ICommandControlDMContext. Therefore, the clearing of the cache does not actually clear anything. I am able to test this fix with gdbserver, as it does not seem to be reporting new thread creation. I believe the solution is to clear the cache for the ICommandControlDMContext instead. I've successfully tested this patch which implements this solution.
Committed patch to HEAD and 7_0. John, can you review?
Looks good to me.