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 108457 Details for
Bug 237556
[non-stop] Add support for non-stop multi-threaded debugging in GDB.
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]
Default thread ID when GDB doesn't report any
NonStopMultiThreading.patch (text/plain), 1.36 KB, created by
Francois Chouinard
on 2008-07-25 12:15:00 EDT
(
hide
)
Description:
Default thread ID when GDB doesn't report any
Filename:
MIME Type:
Creator:
Francois Chouinard
Created:
2008-07-25 12:15:00 EDT
Size:
1.36 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.dd.mi >Index: src/org/eclipse/dd/mi/service/MIRunControl.java >=================================================================== >RCS file: /cvsroot/dsdp/org.eclipse.dd.dsf/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/MIRunControl.java,v >retrieving revision 1.16 >diff -u -r1.16 MIRunControl.java >--- src/org/eclipse/dd/mi/service/MIRunControl.java 22 Jul 2008 19:19:48 -0000 1.16 >+++ src/org/eclipse/dd/mi/service/MIRunControl.java 25 Jul 2008 16:12:25 -0000 >@@ -284,7 +284,7 @@ > private StateChangeReason fStateChangeReason; > private IExecutionDMContext fStateChangeTriggeringContext; > >- private static final int NO_THREAD_ID = 0; >+ private static final int DEFAULT_THREAD_ID = 1; > > public MIRunControl(DsfSession session) { > super(session); >@@ -628,7 +628,7 @@ > if (info.getThreadIds().length == 0) { > //Main thread always exist even if it is not reported by GDB. > //So create thread-id= 0 when no thread is reported >- return new IMIExecutionDMContext[]{new MIExecutionDMC(getSession().getId(), containerCtx, NO_THREAD_ID)}; >+ return new IMIExecutionDMContext[]{new MIExecutionDMC(getSession().getId(), containerCtx, DEFAULT_THREAD_ID)}; > } else { > IExecutionDMContext[] executionDmcs = new IMIExecutionDMContext[info.getThreadIds().length]; > for (int i = 0; i < info.getThreadIds().length; i++) {
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
Actions:
View
|
Diff
Attachments on
bug 237556
:
107226
|
107235
|
107620
|
107674
|
107792
|
108117
|
108341
|
108373
|
108457
|
108503
|
108505