Community
Participate
Working Groups
When we restart the inferior, we expect to have an IExitedDMEvent, which will tell us we can cleanup the old MIInferiorProcess class. This event is not being send for GDB < 7.0. The problem is that before GDB 7.0, GDB did not have an event to indicate that a process had exited, so we would trigger that even on our own, and we never did it for the case of a restart, presumably because the process was restarting anyway. This is not the approach GDB took where, starting with 7.0, even for a restart, GDB will indicate that the inferior has exited (then started again).
This bug is not urgent as the only consequence is that the MIInferiorProcess class does not get cleaned up right away, but eventually will, once the debug session is terminated.