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 157863 Details for
Bug 269838
CDT gdb/mi fails to parse result of gdb cmd "thread info"
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]
DSF threads patch
DSF-Mac-threads-patch.txt (text/plain), 3.47 KB, created by
Marc-André Laperle
on 2010-02-01 23:12:28 EST
(
hide
)
Description:
DSF threads patch
Filename:
MIME Type:
Creator:
Marc-André Laperle
Created:
2010-02-01 23:12:28 EST
Size:
3.47 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.cdt.dsf.gdb >Index: src/org/eclipse/cdt/dsf/gdb/service/macos/MacOSGDBProcesses.java >=================================================================== >RCS file: src/org/eclipse/cdt/dsf/gdb/service/macos/MacOSGDBProcesses.java >diff -N src/org/eclipse/cdt/dsf/gdb/service/macos/MacOSGDBProcesses.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/cdt/dsf/gdb/service/macos/MacOSGDBProcesses.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,43 @@ >+/******************************************************************************* >+ * Copyright (c) 2008 Ericsson and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * Ericsson - initial API and implementation >+ * Marc-Andre Laperle - fix for bug 269838 >+ *******************************************************************************/ >+package org.eclipse.cdt.dsf.gdb.service.macos; >+ >+import org.eclipse.cdt.dsf.debug.service.IRunControl.ISuspendedDMEvent; >+import org.eclipse.cdt.dsf.debug.service.command.ICommandControlService; >+import org.eclipse.cdt.dsf.gdb.internal.GdbPlugin; >+import org.eclipse.cdt.dsf.gdb.service.GDBProcesses; >+import org.eclipse.cdt.dsf.gdb.service.command.GDBControl; >+import org.eclipse.cdt.dsf.service.DsfServiceEventHandler; >+import org.eclipse.cdt.dsf.service.DsfServicesTracker; >+import org.eclipse.cdt.dsf.service.DsfSession; >+ >+public class MacOSGDBProcesses extends GDBProcesses { >+ >+ private GDBControl commandControl; >+ >+ public MacOSGDBProcesses(DsfSession session) { >+ super(session); >+ DsfServicesTracker serviceTracker = new DsfServicesTracker(GdbPlugin.getBundleContext(), session.getId()); >+ commandControl = (GDBControl)serviceTracker.getService(ICommandControlService.class); >+ session.addServiceEventListener(this, null); >+ } >+ >+ @Override >+ @DsfServiceEventHandler >+ public void eventDispatched(ISuspendedDMEvent e) { >+ // With Apple-gdb, we flush the command cache because we need >+ // new results from -thread-list-ids >+ flushCache(commandControl.getInferiorProcess().getExecutionContext()); >+ super.eventDispatched(e); >+ } >+ >+} >Index: src/org/eclipse/cdt/dsf/gdb/service/macos/MacOSGdbDebugServicesFactory.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/macos/MacOSGdbDebugServicesFactory.java,v >retrieving revision 1.2 >diff -u -r1.2 MacOSGdbDebugServicesFactory.java >--- src/org/eclipse/cdt/dsf/gdb/service/macos/MacOSGdbDebugServicesFactory.java 15 Jan 2010 20:52:41 -0000 1.2 >+++ src/org/eclipse/cdt/dsf/gdb/service/macos/MacOSGdbDebugServicesFactory.java 2 Feb 2010 04:05:04 -0000 >@@ -13,6 +13,7 @@ > package org.eclipse.cdt.dsf.gdb.service.macos; > > import org.eclipse.cdt.dsf.debug.service.IExpressions; >+import org.eclipse.cdt.dsf.debug.service.IProcesses; > import org.eclipse.cdt.dsf.debug.service.IRunControl; > import org.eclipse.cdt.dsf.gdb.service.GdbDebugServicesFactory; > import org.eclipse.cdt.dsf.service.DsfSession; >@@ -40,4 +41,9 @@ > protected IRunControl createRunControlService(DsfSession session) { > return new MacOSGDBRunControl(session); > } >+ >+ @Override >+ protected IProcesses createProcessesService(DsfSession session) { >+ return new MacOSGDBProcesses(session); >+ } > }
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 269838
:
129741
|
129886
|
151905
|
151906
|
155392
|
155393
|
156477
|
157863
|
157865
|
158135
|
158393
|
158394