mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00
Cleanup.
This commit is contained in:
parent
d9bcef0863
commit
c697bbaec7
4 changed files with 10 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue