Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 194764 Details for
Bug 341406
[all-stop] "Connect to process" button in the debug view does nothing while target is running
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Fix to disable the connect command in all-stop
z.patch (text/plain), 1.15 KB, created by
Marc Khouzam
on 2011-05-04 16:21:44 EDT
(
hide
)
Description:
Fix to disable the connect command in all-stop
Filename:
MIME Type:
Creator:
Marc Khouzam
Created:
2011-05-04 16:21:44 EDT
Size:
1.15 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.cdt.dsf.gdb >Index: src/org/eclipse/cdt/dsf/gdb/service/GDBProcesses_7_2.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBProcesses_7_2.java,v >retrieving revision 1.13 >diff -u -r1.13 GDBProcesses_7_2.java >--- src/org/eclipse/cdt/dsf/gdb/service/GDBProcesses_7_2.java 4 May 2011 01:03:32 -0000 1.13 >+++ src/org/eclipse/cdt/dsf/gdb/service/GDBProcesses_7_2.java 4 May 2011 20:09:55 -0000 >@@ -120,6 +120,15 @@ > if (fBackend.getSessionType() == SessionType.REMOTE && !fBackend.getIsAttachSession()) { > return false; > } >+ >+ // Multi-process does not work for all-stop right now >+ IMIRunControl runControl = getServicesTracker().getService(IMIRunControl.class); >+ if (runControl != null && runControl.getRunMode() == MIRunMode.ALL_STOP) { >+ // Only one process is allowed in all-stop (for now) >+ return getNumConnected() == 0; >+ // NOTE: when we support multi-process in all-stop mode, >+ // we will need to interrupt the target to when doing the attach >+ } > > return true; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
marc.khouzam
:
iplog-
Actions:
View
|
Diff
Attachments on
bug 341406
: 194764