Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Magloire2004-11-17 03:52:49 +0000
committerAlain Magloire2004-11-17 03:52:49 +0000
commit334882d25832a62ba2084bcc0f57dd1dfde137e4 (patch)
tree8d406b2e05678120e233fd3798b4c781337d7e2d /debug/org.eclipse.cdt.debug.core/cdi/org
parente5f9c0c311a698638fd0a4fc3be2cda134bc3cf5 (diff)
downloadorg.eclipse.cdt-334882d25832a62ba2084bcc0f57dd1dfde137e4.tar.gz
org.eclipse.cdt-334882d25832a62ba2084bcc0f57dd1dfde137e4.tar.xz
org.eclipse.cdt-334882d25832a62ba2084bcc0f57dd1dfde137e4.zip
2004-11-16 Alain Magloire
Optimize things by providing a new method ICDIRegisterGroup.hasRegisters(); * cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIRegisterGroup.java * src/org/eclipse/cdt/debug/internal/core/model/CRegisterGroup.java
Diffstat (limited to 'debug/org.eclipse.cdt.debug.core/cdi/org')
-rw-r--r--debug/org.eclipse.cdt.debug.core/cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIRegisterGroup.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIRegisterGroup.java b/debug/org.eclipse.cdt.debug.core/cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIRegisterGroup.java
index 208ddc117e7..a5667fbc306 100644
--- a/debug/org.eclipse.cdt.debug.core/cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIRegisterGroup.java
+++ b/debug/org.eclipse.cdt.debug.core/cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIRegisterGroup.java
@@ -35,4 +35,13 @@ public interface ICDIRegisterGroup extends ICDIObject {
* @throws CDIException if this method fails. Reasons include:
*/
ICDIRegisterDescriptor[] getRegisterDescriptors() throws CDIException;
+
+ /**
+ * Returns whether this register group currently contains any registers.
+ *
+ * @return whether this register group currently contains any registers
+ * @exception CDIException if this method fails. Reasons include:
+ */
+ public boolean hasRegisters() throws CDIException;
+
}

Back to the top