Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367196

Summary: [runcontrol] Have an event to indicate if backend is accepting commands
Product: [Tools] CDT Reporter: Marc Khouzam <marc.khouzam>
Component: cdt-debug-dsf-gdbAssignee: Project Inbox <cdt-debug-dsf-gdb-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: enhancement    
Priority: P3 CC: cdtdoug, pawel.1.piech, vladimir.prus
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Marc Khouzam CLA 2011-12-20 09:57:22 EST
The method IMIRunControl.isTargetAcceptingCommands() can be used to know if GDB is currently accepting commands.

What if we want to disable a UI button when GDB is not accepting commands?  With this method, we would need to poll.  What is needed is a DSF event to indicate that state of the target accepting command has changed.

This would be useful for Bug 360314.