1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-15 13:05:22 +02:00

Support getting the ICDIThread associated with a CThread via IAdaptable, as is done with CDebugTarget and CStackFrame

This commit is contained in:
John Cortell 2007-09-05 18:18:11 +00:00
parent 10365b4ff8
commit dd735e2672

View file

@ -868,6 +868,9 @@ public class CThread extends CDebugElement implements ICThread, IRestart, IResum
if ( adapter == IMemoryBlockRetrieval.class ) {
return getDebugTarget().getAdapter( adapter );
}
if ( adapter == ICDIThread.class ) {
return getCDIThread();
}
return super.getAdapter( adapter );
}