Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] Applied: CDT_1_1 and Head PR 37282

Index: ChangeLog
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.mi.core/ChangeLog,v
retrieving revision 1.123.2.3
diff -u -r1.123.2.3 ChangeLog
--- ChangeLog	30 Apr 2003 22:27:56 -0000	1.123.2.3
+++ ChangeLog	6 May 2003 16:19:12 -0000
@@ -1,3 +1,8 @@
+2003-05-06 Alain Magloire
+
+	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Thread.java (suspend):
+	Suspend the target before selecting the thread.
+
 2003-04-30 Alain Magloire
 
 	* src/org/eclipse/cdt/debug/mi/core/MIPlugin.java:
Index: src/org/eclipse/cdt/debug/mi/core/cdi/model/Thread.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/model/Thread.java,v
retrieving revision 1.7
diff -u -r1.7 Thread.java
--- src/org/eclipse/cdt/debug/mi/core/cdi/model/Thread.java	17 Apr 2003 20:40:17 -0000	1.7
+++ src/org/eclipse/cdt/debug/mi/core/cdi/model/Thread.java	6 May 2003 16:19:13 -0000
@@ -312,8 +312,8 @@
 	 * @see org.eclipse.cdt.debug.core.cdi.model.ICDIThread#suspend()
 	 */
 	public void suspend() throws CDIException {
-		getTarget().setCurrentThread(this);
 		getTarget().suspend();
+		getTarget().setCurrentThread(this);
 	}
 
 	/**



Back to the top