1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 08:55:25 +02:00

Fix compile error in RegisterManager and bundle versions

This commit is contained in:
Anton Leherbauer 2011-07-29 09:47:45 +02:00
parent 87d2a15da8
commit 006de47712
3 changed files with 7 additions and 4 deletions

View file

@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.cdt.debug.mi.core; singleton:=true
Bundle-Version: 7.1.1.qualifier
Bundle-Version: 7.1.100.qualifier
Bundle-Activator: org.eclipse.cdt.debug.mi.core.MIPlugin
Bundle-Vendor: %providerName
Bundle-Localization: plugin

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2010 QNX Software Systems and others.
* Copyright (c) 2000, 2011 QNX Software Systems 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
@ -69,7 +69,8 @@ public class RegisterManager extends Manager {
/* (non-Javadoc)
* @see java.util.LinkedHashMap#removeEldestEntry(java.util.Map.Entry)
*/
protected boolean removeEldestEntry(Entry eldest) {
@Override
protected boolean removeEldestEntry(Map.Entry eldest) {
boolean toRemove = size() > MAX_ENTRIES;
if (toRemove) {
ShadowRegister v = (ShadowRegister)eldest.getValue();
@ -110,6 +111,7 @@ public class RegisterManager extends Manager {
/* (non-Javadoc)
* @see org.eclipse.cdt.debug.mi.core.cdi.model.Variable#getMIVar()
*/
@Override
public MIVar getMIVar() throws CDIException {
if (fMIVar == null) {
fMIVar = createMiVar((StackFrame)getStackFrame(), getName());
@ -371,6 +373,7 @@ public class RegisterManager extends Manager {
return null;
}
@Override
public void update(Target target) throws CDIException {
MISession mi = target.getMISession();
CommandFactory factory = mi.getCommandFactory();

View file

@ -11,7 +11,7 @@
<relativePath>../../pom.xml</relativePath>
</parent>
<version>7.1.0-SNAPSHOT</version>
<version>7.1.100-SNAPSHOT</version>
<artifactId>org.eclipse.cdt.debug.mi.core</artifactId>
<packaging>eclipse-plugin</packaging>
</project>