1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00
This commit is contained in:
Mikhail Khodjaiants 2005-12-31 00:51:47 +00:00
parent d9bcef0863
commit c697bbaec7
4 changed files with 10 additions and 6 deletions

View file

@ -1,3 +1,9 @@
2005-12-30 Mikhail Khodjaiants
Cleanup.
* CModule.java
* CThread.java
* CValue.java
2005-12-29 Mikhail Khodjaiants
Temporary fix for bug 122344: Memory monitors are not shown in the Memory view.
* CMemoryBlockRetrievalExtension.java

View file

@ -192,7 +192,7 @@ public class CModule extends CDebugElement implements ICModule {
return getCElement();
}
if ( IBinary.class.equals( adapter ) && getCElement() instanceof IBinary ) {
return (IBinary)getCElement();
return getCElement();
}
return super.getAdapter( adapter );
}

View file

@ -821,9 +821,8 @@ public class CThread extends CDebugElement implements ICThread, IRestart, IResum
// Alain: Put a proper fix later.
Object obj = getTopStackFrame();
if (obj instanceof ICStackFrame) {
return (ICStackFrame)obj;
return obj;
}
//return (ICStackFrame)getTopStackFrame();
}
catch( DebugException e ) {
// do nothing
@ -836,9 +835,8 @@ public class CThread extends CDebugElement implements ICThread, IRestart, IResum
// Alain: Put a proper fix later.
Object obj = getTopStackFrame();
if (obj instanceof ICStackFrame) {
return (ICStackFrame)obj;
return obj;
}
//return (ICStackFrame)getTopStackFrame();
}
catch( DebugException e ) {
// do nothing

View file

@ -170,7 +170,7 @@ public class CValue extends AbstractCValue {
}
}
catch( CDIException e ) {
requestFailed( e.getMessage(), e ); //$NON-NLS-1$
requestFailed( e.getMessage(), e );
}
return Arrays.asList( vars );
}