From ad99764744037117141b06c4c10cf30cfbdf798d Mon Sep 17 00:00:00 2001 From: Mikhail Khodjaiants Date: Thu, 8 Aug 2002 19:39:05 +0000 Subject: [PATCH] Added the 'CDebugConfiguration' interface. --- .../debug/core/cdi/ICDebugConfiguration.java | 99 +++++++++++++++++++ .../eclipse/cdt/debug/core/cdi/ICSession.java | 7 ++ 2 files changed, 106 insertions(+) create mode 100644 debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDebugConfiguration.java diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDebugConfiguration.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDebugConfiguration.java new file mode 100644 index 00000000000..722929bf674 --- /dev/null +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDebugConfiguration.java @@ -0,0 +1,99 @@ +/* + *(c) Copyright QNX Software Systems Ltd. 2002. + * All Rights Reserved. + * + */ + +package org.eclipse.cdt.debug.core.cdi; + +/** + * Describes the configuration of debug session. + * + * @since Aug 6, 2002 + */ +public interface ICDebugConfiguration +{ + /** + * Returns whether this session supports termination. + * + * @return whether this session supports termination + */ + boolean supportsTerminate(); + + /** + * Returns whether this session supports disconnecting. + * + * @return whether this session supports disconnecting + */ + boolean supportsDisconnect(); + + /** + * Returns whether this session supports suspend/resume. + * + * @return whether this session supports suspend/resume + */ + boolean supportsSuspendResume(); + + /** + * Returns whether this session supports restarting. + * + * @return whether this session supports restarting + */ + boolean supportsRestart(); + + /** + * Returns whether this session supports stepping. + * + * @return whether this session supports stepping + */ + boolean supportsStepping(); + + /** + * Returns whether this session supports instruction stepping. + * + * @return whether this session supports instruction stepping + */ + boolean supportsInstructionStepping(); + + /** + * Returns whether this session supports breakpoints. + * + * @return whether this session supports breakpoints + */ + boolean supportsBreakpoints(); + + /** + * Returns whether this session supports registers. + * + * @return whether this session supports registers + */ + boolean supportsRegisters(); + + /** + * Returns whether this session supports register modification. + * + * @return whether this session supports registers modification + */ + boolean supportsRegisterModification(); + + /** + * Returns whether this session supports memory retrieval. + * + * @return whether this session supports memory retrieval + */ + boolean supportsMemoryRetrieval(); + + /** + * Returns whether this session supports memory modification. + * + * @return whether this session supports memory modification + */ + boolean supportsMemoryModification(); + + /** + * Returns whether this session supports expression evaluation. + * + * @return whether this session supports expression evaluation + */ + boolean supportsExpressionEvaluation(); +} diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICSession.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICSession.java index 74a87d0f635..2ffb635369a 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICSession.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICSession.java @@ -82,6 +82,13 @@ public interface ICSession */ ICEventManager getEventManager(); + /** + * Returns the configuration description of this debug session. + * + * @return the configuration description + */ + ICDebugConfiguration getConfiguration(); + /** * Returns whether this element is terminated. *