1
/*******************************************************************************
2
* Copyright (c) 2007 Freescale Semiconductor 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
9
* Freescale Semiconductor - initial API and implementation
10
*******************************************************************************/
12
package org.eclipse.cdt.debug.core.cdi.model;
14
import org.eclipse.cdt.debug.core.cdi.event.ICDIEvent;
16
public interface ICDITargetConfiguration3 extends ICDITargetConfiguration2 {
19
* It may be desirable to update all variables when a certain event occurs.
20
* For example, some CDI clients may want all variabless updated when memory
21
* is changed (when an ICDIMemoryChangedEvent is received) because it's
22
* impractical or impossible for those backends to determine what specific
23
* variables the memory change affected.
25
* CDT will call this method to determine desired behavior for a limited set
26
* of event types. The CDI backend should not expect to use this hook as a
27
* general control mechanism for when variables are updated.
29
* @return Whether the value for all active variables should be invalidated
30
* and re-fetched from the CDI backend on the occurence of the given
33
boolean needsVariablesUpdated(ICDIEvent event);
36
* Same idea as needsRegistersUpdated() but for registers. Embedded systems
37
* often have memory mapped registers; changing bytes in memory might, in
38
* effect, change a register value
40
* @return Whether the value for all active registers should be invalidated
41
* and re-fetched from the CDI backend on the occurence of the given
44
boolean needsRegistersUpdated(ICDIEvent event);