1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
cdt/plugins
Marc Khouzam 241d941438 Bug 226931
Support for Restart button.
The steps to restarting the inferior are the following:
1- Create a new PTY and tell GDB to use it
2- Create a new MIInferiorProcess object which uses the new PTY
2.5- Have the CLIEventProcessor use the new MIInferiorProcess
3- Restart the inferior using -exec-run
4- Remove the previous inferior Process from the launch
5- Add the new inferior Process to the launch (which will trigger the use of
the new PTY streams)

This change supports the Restart function, including the above steps to perform the proper cleanup.  The code to start the inferior has been extracted from the FinalLaunchSequence and put in GDBControl to allow sharing between start and restart.  Also, the code to create the CLI and inferior process objects has been extracted from the GdbLaunchDelegate and put in GDBControl to to allow sharing between start and restart.

There only interface change that is not in a provisional interface is the
addition of resetInferior() to CLIEventprocessor which is backwards compatible.
2008-04-21 18:08:53 +00:00
..
org.eclipse.dd.doc.dsf [220446][219907] Updated the doc plugin to point to the new DSF tutorials. 2008-03-24 16:34:37 +00:00
org.eclipse.dd.dsf [206932] Made ICommandControl independent from the IDsfService class. 2008-04-01 20:46:11 +00:00
org.eclipse.dd.dsf.debug [225820] Removed the unused Section interface. 2008-04-05 19:40:00 +00:00
org.eclipse.dd.dsf.debug.ui [212839] Added "Type" column to the registers view. 2008-04-18 20:17:49 +00:00
org.eclipse.dd.dsf.ui [227643] Switched to use ILabelUpdate.getColumnIds() instead of IPresentationContext.getColumns(). 2008-04-18 18:41:48 +00:00
org.eclipse.dd.examples.dsf Made a little more readable. 2008-04-05 02:15:54 +00:00
org.eclipse.dd.examples.pda [217020] Refactored ICommandControl interface to use a token to identify queued commands. 2008-04-02 04:09:35 +00:00
org.eclipse.dd.examples.pda.ui [225193] Simplified AbstractVMContext constructor. 2008-04-01 20:09:43 +00:00
org.eclipse.dd.gdb Bug 226931 2008-04-21 18:08:53 +00:00
org.eclipse.dd.gdb.launch Bug 202343 2008-04-15 16:38:17 +00:00
org.eclipse.dd.gdb.ui Bug 226931 2008-04-21 18:08:53 +00:00
org.eclipse.dd.mi Bug 226931 2008-04-21 18:08:53 +00:00
org.eclipse.dd.tests.dsf [179293] Refactor the handle*() methods of the RequestMoniotr. 2008-03-27 02:40:19 +00:00
org.eclipse.dd.tests.gdb Bug 226931 2008-04-21 18:08:53 +00:00