1
0
Fork 0
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:
Mikhail Khodjaiants 2005-02-12 00:04:59 +00:00
parent 3166aa1864
commit e1e52bf692
3 changed files with 20 additions and 0 deletions

View file

@ -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.

View file

@ -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();
}

View file

@ -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() {
}