mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 14:12:10 +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
|
2005-12-29 Mikhail Khodjaiants
|
||||||
Temporary fix for bug 122344: Memory monitors are not shown in the Memory view.
|
Temporary fix for bug 122344: Memory monitors are not shown in the Memory view.
|
||||||
* CMemoryBlockRetrievalExtension.java
|
* CMemoryBlockRetrievalExtension.java
|
||||||
|
|
|
@ -192,7 +192,7 @@ public class CModule extends CDebugElement implements ICModule {
|
||||||
return getCElement();
|
return getCElement();
|
||||||
}
|
}
|
||||||
if ( IBinary.class.equals( adapter ) && getCElement() instanceof IBinary ) {
|
if ( IBinary.class.equals( adapter ) && getCElement() instanceof IBinary ) {
|
||||||
return (IBinary)getCElement();
|
return getCElement();
|
||||||
}
|
}
|
||||||
return super.getAdapter( adapter );
|
return super.getAdapter( adapter );
|
||||||
}
|
}
|
||||||
|
|
|
@ -821,9 +821,8 @@ public class CThread extends CDebugElement implements ICThread, IRestart, IResum
|
||||||
// Alain: Put a proper fix later.
|
// Alain: Put a proper fix later.
|
||||||
Object obj = getTopStackFrame();
|
Object obj = getTopStackFrame();
|
||||||
if (obj instanceof ICStackFrame) {
|
if (obj instanceof ICStackFrame) {
|
||||||
return (ICStackFrame)obj;
|
return obj;
|
||||||
}
|
}
|
||||||
//return (ICStackFrame)getTopStackFrame();
|
|
||||||
}
|
}
|
||||||
catch( DebugException e ) {
|
catch( DebugException e ) {
|
||||||
// do nothing
|
// do nothing
|
||||||
|
@ -836,9 +835,8 @@ public class CThread extends CDebugElement implements ICThread, IRestart, IResum
|
||||||
// Alain: Put a proper fix later.
|
// Alain: Put a proper fix later.
|
||||||
Object obj = getTopStackFrame();
|
Object obj = getTopStackFrame();
|
||||||
if (obj instanceof ICStackFrame) {
|
if (obj instanceof ICStackFrame) {
|
||||||
return (ICStackFrame)obj;
|
return obj;
|
||||||
}
|
}
|
||||||
//return (ICStackFrame)getTopStackFrame();
|
|
||||||
}
|
}
|
||||||
catch( DebugException e ) {
|
catch( DebugException e ) {
|
||||||
// do nothing
|
// do nothing
|
||||||
|
|
|
@ -170,7 +170,7 @@ public class CValue extends AbstractCValue {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch( CDIException e ) {
|
catch( CDIException e ) {
|
||||||
requestFailed( e.getMessage(), e ); //$NON-NLS-1$
|
requestFailed( e.getMessage(), e );
|
||||||
}
|
}
|
||||||
return Arrays.asList( vars );
|
return Arrays.asList( vars );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue