blob: d3bd7390cb2bb6d8c67ed1d3918be28cd517ac70 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.debug.core.model;
import org.eclipse.debug.core.DebugException;
/**
* A register is a special kind of variable that is contained
* in a register group. Each register has a name and a value.
* Not all debug architectures provide access to registers.
* <p>
* Clients may implement this interface.
* </p>
* @since 2.0
*/
public interface IRegister extends IVariable {
/**
* Returns the register group this register is contained in.
*
* @return the register group this register is contained in
* @exception DebugException if this method fails. Reasons include:
* <ul><li>Failure communicating with the debug target. The DebugException's
* status code contains the underlying exception responsible for
* the failure.</li>
*/
public IRegisterGroup getRegisterGroup() throws DebugException;
}