diff --git a/debug/org.eclipse.cdt.debug.core/ChangeLog b/debug/org.eclipse.cdt.debug.core/ChangeLog index 1b0784293bb..bad751b9733 100644 --- a/debug/org.eclipse.cdt.debug.core/ChangeLog +++ b/debug/org.eclipse.cdt.debug.core/ChangeLog @@ -1,3 +1,7 @@ +2003-01-14 Mikhail Khodjaiants + Added new methods to the 'ICDISharedLibrary' interface. + * ICDISharedLibarary.java + 2003-01-14 Mikhail Khodjaiants Check if thread is already disposed in the CDI event handler because the array of listeners used by EventManager in some situations is not up to date. diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDISharedLibrary.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDISharedLibrary.java index 57a217c6942..0659f27e559 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDISharedLibrary.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDISharedLibrary.java @@ -5,7 +5,7 @@ */ package org.eclipse.cdt.debug.core.cdi.model; -import java.io.File; +import org.eclipse.cdt.debug.core.cdi.CDIException; /** * @@ -14,12 +14,39 @@ import java.io.File; * * @since Jul 8, 2002 */ -public interface ICDISharedLibrary extends ICDIObject -{ +public interface ICDISharedLibrary extends ICDIObject { /** - * Returns the shared library file. + * Returns the name of shared library file. * - * @return the shared library file + * @return the name of shared library file */ - File getFile(); + String getFileName(); + + /** + * Returns the start address of this library. + * + * @return the start address of this library + */ + long getStartAddress(); + + /** + * Returns the end address of this library. + * + * @return the end address of this library + */ + long getEndAddress(); + + /** + * Returns whether the symbols of this library are read. + * + * @return whether the symbols of this library are read + */ + boolean symbolsRead(); + + /** + * Loads the library symbols. + * + * @throws CDIException if this method fails. Reasons include: + */ + void loadSymbols() throws CDIException; }