Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367196 - [runcontrol] Have an event to indicate if backend is accepting commands
Summary: [runcontrol] Have an event to indicate if backend is accepting commands
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 8.0   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-20 09:57 EST by Marc Khouzam CLA
Modified: 2020-09-04 15:21 EDT (History)
3 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-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.