Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2013-03-20 14:17:17 -0400
committerEugene Tarassov2013-03-20 14:17:17 -0400
commit2e902618cc692f9e0c712ab970d280c18ac2863f (patch)
treecdc6c5f38b0b5ea12026319199eb5209a00edefe /plugins
parent13d34e54d875d8d582d92d902c50f39388ac4c66 (diff)
downloadorg.eclipse.tcf-2e902618cc692f9e0c712ab970d280c18ac2863f.tar.gz
org.eclipse.tcf-2e902618cc692f9e0c712ab970d280c18ac2863f.tar.xz
org.eclipse.tcf-2e902618cc692f9e0c712ab970d280c18ac2863f.zip
TCF Core: new memory region property: "OSA".
The property is used for Operation System Awareness parameters.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/internal/services/local/LocatorService.java4
-rw-r--r--plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/internal/services/remote/LocatorProxy.java4
-rw-r--r--plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/services/ILocator.java6
-rw-r--r--plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/services/IMemoryMap.java5
-rw-r--r--plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFLaunch.java4
5 files changed, 15 insertions, 8 deletions
diff --git a/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/internal/services/local/LocatorService.java b/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/internal/services/local/LocatorService.java
index 9912d4d29..46ac6ef9b 100644
--- a/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/internal/services/local/LocatorService.java
+++ b/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/internal/services/local/LocatorService.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2012 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007, 2013 Wind River Systems, Inc. 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
@@ -1211,7 +1211,7 @@ public class LocatorService implements ILocator {
public IToken getAgentID(DoneGetAgentID done) {
throw new Error("Channel get agent ID cannot be done on local peer");
}
-
+
public void addListener(LocatorListener listener) {
assert listener != null;
assert Protocol.isDispatchThread();
diff --git a/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/internal/services/remote/LocatorProxy.java b/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/internal/services/remote/LocatorProxy.java
index 7817d81e7..1ab8b2e57 100644
--- a/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/internal/services/remote/LocatorProxy.java
+++ b/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/internal/services/remote/LocatorProxy.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2012 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007, 2013 Wind River Systems, Inc. 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
@@ -175,7 +175,7 @@ public class LocatorProxy implements ILocator {
}
}.token;
}
-
+
public IToken getAgentID(final DoneGetAgentID done) {
return new Command(channel, this, "getAgentID", null) {
@Override
diff --git a/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/services/ILocator.java b/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/services/ILocator.java
index afbd52a88..5dd53c9f9 100644
--- a/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/services/ILocator.java
+++ b/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/services/ILocator.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2011 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007, 2013 Wind River Systems, Inc. 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
@@ -98,7 +98,7 @@ public interface ILocator extends IService {
interface DoneSync {
void doneSync(IToken token);
}
-
+
/**
* Get agent ID of the agent providing the locator service.
* <p>
@@ -106,7 +106,7 @@ public interface ILocator extends IService {
* returned by {@link #getPeers()}.
*/
IToken getAgentID(DoneGetAgentID done);
-
+
interface DoneGetAgentID {
void doneGetAgentID(IToken token, Exception error, String agentID);
}
diff --git a/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/services/IMemoryMap.java b/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/services/IMemoryMap.java
index d15fe4419..bf6fb660f 100644
--- a/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/services/IMemoryMap.java
+++ b/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/services/IMemoryMap.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2012 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007, 2013 Wind River Systems, Inc. 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
@@ -44,6 +44,9 @@ public interface IMemoryMap extends IService {
/** Boolean, true if the region represents BSS */
PROP_BSS = "BSS",
+ /** Object, Operation System Awareness properties */
+ PROP_OSA = "OSA",
+
/** Number, region memory protection flags, see FLAG_* */
PROP_FLAGS = "Flags",
diff --git a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFLaunch.java b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFLaunch.java
index d841a8861..f48b221aa 100644
--- a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFLaunch.java
+++ b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFLaunch.java
@@ -699,6 +699,10 @@ public class TCFLaunch extends Launch {
map.put(IMemoryMap.PROP_OFFSET, m.get(TCFLaunchDelegate.FILES_OFFSET));
map.put(IMemoryMap.PROP_SIZE, m.get(TCFLaunchDelegate.FILES_SIZE));
}
+ b = (Boolean)m.get(TCFLaunchDelegate.FILES_ENABLE_OSA);
+ if (b != null && b.booleanValue()) {
+ map.put(IMemoryMap.PROP_OSA, new HashMap<String,Object>());
+ }
ArrayList<IMemoryMap.MemoryRegion> l = maps.get(id);
if (l == null) {
l = new ArrayList<IMemoryMap.MemoryRegion>();

Back to the top