mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Merged changes from 1.2.1 branch.
This commit is contained in:
parent
57d4d66372
commit
5c81a61e91
3 changed files with 23 additions and 3 deletions
|
@ -1,3 +1,15 @@
|
|||
2004-02-17 Mikhail Khodjaiants
|
||||
Reset the current thread flag when resume.
|
||||
* CThread.java
|
||||
|
||||
2004-02-16 Mikhail Khodjaiants
|
||||
Fix for bug 52135: Debugger should indicate which thread triggered breakpoint.
|
||||
* CThread.java
|
||||
|
||||
2004-02-11 Mikhail Khodjaiants
|
||||
In the 'reset' method check if value is an instance of CValue before type casting.
|
||||
* CVariable.java
|
||||
|
||||
2004-02-10 Mikhail Khodjaiants
|
||||
Cache the endianness flag.
|
||||
* CDebugTarget.java
|
||||
|
|
|
@ -943,6 +943,7 @@ public class CThread extends CDebugElement
|
|||
}
|
||||
else
|
||||
{
|
||||
setCurrent( false );
|
||||
disposeStackFrames();
|
||||
fireChangeEvent( DebugEvent.CONTENT );
|
||||
}
|
||||
|
@ -1129,6 +1130,8 @@ public class CThread extends CDebugElement
|
|||
{
|
||||
if ( adapter.equals( IRunToLine.class ) )
|
||||
return this;
|
||||
if ( adapter.equals( IState.class ) )
|
||||
return this;
|
||||
return super.getAdapter(adapter);
|
||||
}
|
||||
|
||||
|
@ -1205,6 +1208,7 @@ public class CThread extends CDebugElement
|
|||
}
|
||||
else
|
||||
{
|
||||
setCurrent( false );
|
||||
disposeStackFrames();
|
||||
events.add( createChangeEvent( DebugEvent.CONTENT ) );
|
||||
}
|
||||
|
|
|
@ -200,7 +200,7 @@ public abstract class CVariable extends CDebugElement
|
|||
{
|
||||
if ( getCDIVariableObject() instanceof ICDIArgumentObject )
|
||||
fCDIVariable = getCDISession().getVariableManager().createArgument( (ICDIArgumentObject)getCDIVariableObject() );
|
||||
else if ( getCDIVariableObject() != null )
|
||||
else if ( getCDIVariableObject() instanceof ICDIVariableObject )
|
||||
fCDIVariable = getCDISession().getVariableManager().createVariable( getCDIVariableObject() );
|
||||
}
|
||||
catch( CDIException e )
|
||||
|
@ -730,8 +730,12 @@ public abstract class CVariable extends CDebugElement
|
|||
|
||||
protected void reset() throws DebugException
|
||||
{
|
||||
((CValue)getValue()).reset();
|
||||
fireChangeEvent( DebugEvent.STATE );
|
||||
IValue value = getValue();
|
||||
if ( value instanceof CValue )
|
||||
{
|
||||
((CValue)getValue()).reset();
|
||||
fireChangeEvent( DebugEvent.STATE );
|
||||
}
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
|
Loading…
Add table
Reference in a new issue