mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Bug 82264: Enhance the Shared Libraries view. Added new "getCPU" method to ICModule.
This commit is contained in:
parent
3166aa1864
commit
e1e52bf692
3 changed files with 20 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-02-11 Mikhail Khodjaiants
|
||||
Bug 82264: Enhance the Shared Libraries view.
|
||||
Added new "getCPU" method to ICModule.
|
||||
* ICModule.java
|
||||
* CModule.java
|
||||
|
||||
2005-02-07 Mikhail Khodjaiants
|
||||
Bug 82264: Enhance the Shared Libraries view.
|
||||
Core support for the Modules view.
|
||||
|
|
|
@ -123,4 +123,11 @@ public interface ICModule extends ICDebugElement {
|
|||
* @return the address factory
|
||||
*/
|
||||
public IAddressFactory getAddressFactory();
|
||||
|
||||
/**
|
||||
* Returns the CPU identifier.
|
||||
*
|
||||
* @return the CPU identifier
|
||||
*/
|
||||
public String getCPU();
|
||||
}
|
||||
|
|
|
@ -171,6 +171,13 @@ public class CModule extends CDebugElement implements ICModule {
|
|||
return ((CDebugTarget)getDebugTarget()).getAddressFactory();
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.debug.core.model.ICModule#getCPU()
|
||||
*/
|
||||
public String getCPU() {
|
||||
return ( fCElement instanceof IBinary ) ? ((IBinary)fCElement).getCPU() : null;
|
||||
}
|
||||
|
||||
public void dispose() {
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue