1 /******************************************************************************* 2 * Copyright (c) 2000, 2005 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.debug.core.model; 12 13 14 import org.eclipse.debug.core.DebugException; 15 16 /** 17 * A register is a special kind of variable that is contained 18 * in a register group. Each register has a name and a value. 19 * Not all debug architectures provide access to registers. 20 * <p> 21 * Clients may implement this interface. 22 * </p> 23 * @since 2.0 24 */ 25 public interface IRegister extends IVariable { 26 27 /** 28 * Returns the register group this register is contained in. 29 * 30 * @return the register group this register is contained in 31 * @exception DebugException if this method fails. Reasons include: 32 * <ul><li>Failure communicating with the debug target. The DebugException's 33 * status code contains the underlying exception responsible for 34 * the failure.</li> 35 */ 36 public IRegisterGroup getRegisterGroup() throws DebugException; 37 38 } 39 40