1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Bug 89755: CThread.suspend suspends target, not thread.

This commit is contained in:
Mikhail Khodjaiants 2005-04-07 19:06:50 +00:00
parent 1e163ece68
commit 592da591e5
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2005-04-07 Mikhail Khodjaiants
Bug 89755: CThread.suspend suspends target, not thread.
* CThread.java
2005-04-04 Alain Magloire 2005-04-04 Alain Magloire
Move to Eclipse-31M6 Move to Eclipse-31M6
- src/org/eclipse/cdt/debug/internal/core/CMemoryBlockExtensionRetrieval.java - src/org/eclipse/cdt/debug/internal/core/CMemoryBlockExtensionRetrieval.java

View file

@ -418,7 +418,7 @@ public class CThread extends CDebugElement implements ICThread, IRestart, IResum
CDebugElementState oldState = getState(); CDebugElementState oldState = getState();
setState( CDebugElementState.SUSPENDING ); setState( CDebugElementState.SUSPENDING );
try { try {
getCDITarget().suspend(); getCDIThread().suspend();
} }
catch( CDIException e ) { catch( CDIException e ) {
setState( oldState ); setState( oldState );