Bug 345832 - IExitedDMEvent not sent when restarting the process for GDB < 7.0
Summary: IExitedDMEvent not sent when restarting the process for GDB < 7.0
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 8.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-14 20:40 EDT by Marc Khouzam CLA
Modified: 2020-09-04 15:17 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Khouzam CLA 2011-05-14 20:40:29 EDT
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).
Comment 1 Marc Khouzam CLA 2011-05-14 22:56:08 EDT
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.