Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334463 - [run control] Need a way to know if we are in non-stop mode
Summary: [run control] Need a way to know if we are in non-stop mode
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 8.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 8.0   Edit
Assignee: Marc Khouzam CLA
QA Contact: Marc Khouzam CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-15 14:46 EST by Marc Khouzam CLA
Modified: 2011-01-21 14:23 EST (History)
5 users (show)

See Also:
marc.khouzam: review? (pawel.1.piech)


Attachments
Fix (2.56 KB, patch)
2011-01-15 14:46 EST, Marc Khouzam CLA
marc.khouzam: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Khouzam CLA 2011-01-15 14:46:18 EST
Created attachment 186878 [details]
Fix

DSF-GDB supports both all-stop and non-stop mode.  However, there is currently no easy way for different services to find out which mode is being used by the debug session.

The below fix adds method getRunMode() to IMIRunControl.  I tried to make the RunMode concept easy to extend for debuggers that may have some mode other than all-stop or non-stop.
Comment 1 Marc Khouzam CLA 2011-01-15 14:50:26 EST
Pawel, this changes seems to me like it would fit quite well in DSF itself.

Ken, is this something you want for EDC?

The current patch is for DSF-GDB, but I can create an IRunControl3 if you want to have this change in DSF.

If not, I'll commit the change to DSF-GDB early next week.

Thanks
Comment 2 Marc Khouzam CLA 2011-01-21 13:42:33 EST
Committed the patch to HEAD.

Pawel, can you review?