Open ilg-ul opened 7 years ago
Hi Liviu - any chance this is a bug in Eclipse's starter.exe e.g. ...\eclipse\plugins\org.eclipse.cdt.core.win32.x86_64_5.4.1.201712020452\os\win32\x86_64\starter.exe?
We had to modify this to terminate openocd more gracefully than it would normally - see the attached modified version paying attention to the bits tagged "Microsemi".
I need to submit this (or a more general fix) back to the project for consideration as I consider starter.exe broken as it stands.
If this is not relevant to the original issue then apologies for the distraction!
I don't know, I thought the original problem is specific to my debug plug-ins.
There are many internal threads doing various small tasks related to the debugger, and the logic that keeps everything together is very complicated.
OK - on reflection, starter.exe is specific to Windows (neither it nor any equivalent exists in CDT for Linux), so if you problem is not specific to Windows then starter.exe is not the problem here even if the way that it tries to terminate launched apps (e.g. external tools etc.) is flawed.
Yes, it makes sense.
The plug-in termination logic is complicated, since it needs to terminate all processes regardless which one was killed or terminated.
There may be a bug, that kills the GDB server too early, preventing its termination logic to run properly (for example to leave the target running).