1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-27 19:05:38 +02:00

Fixed way in which the new Add Watchpoint action gets its context from the memory rendering.

This commit is contained in:
John Cortell 2008-02-14 20:46:48 +00:00
parent 60dd429b5c
commit ab1ad42fd7

View file

@ -1,38 +0,0 @@
/*******************************************************************************
* Copyright (c) 2007 Freescale Semiconductor 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:
* Freescale Semiconductor - Initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.debug.ui;
import java.math.BigInteger;
import org.eclipse.debug.core.model.IMemoryBlockExtension;
/**
* Defines an interface that allows the implementor to specify the currently
* selected memory block.
*/
public interface ICMemorySelection {
/**
* @return the block of memory that contains the selection
*/
IMemoryBlockExtension getContainingBlock();
/**
* @return the beginning address of the selection
*/
BigInteger getAddress();
/**
* @return the length in units of the selection
*/
BigInteger getUnits();
}