Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2010-05-25 19:18:05 -0400
committereutarass2010-05-25 19:18:05 -0400
commit0f2c49d6f308553e695564875ace4815c287f6ac (patch)
tree8393d14021d8dd17a31ac7e8b995b4fda351eeba /plugins/org.eclipse.tm.tcf.core
parent4a7fc472f6353e2e96c4abd3a0c557aaca7883c7 (diff)
downloadorg.eclipse.tcf-0f2c49d6f308553e695564875ace4815c287f6ac.tar.gz
org.eclipse.tcf-0f2c49d6f308553e695564875ace4815c287f6ac.tar.xz
org.eclipse.tcf-0f2c49d6f308553e695564875ace4815c287f6ac.zip
TCF Debugger: process "don't stop" and "don't pass" signal masks are made persistent per launch configuration
Diffstat (limited to 'plugins/org.eclipse.tm.tcf.core')
-rw-r--r--plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/internal/tcf/services/remote/RegistersProxy.java3
-rw-r--r--plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/tcf/services/IProcesses.java5
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/internal/tcf/services/remote/RegistersProxy.java b/plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/internal/tcf/services/remote/RegistersProxy.java
index d25fa71a0..a2e1bcfad 100644
--- a/plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/internal/tcf/services/remote/RegistersProxy.java
+++ b/plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/internal/tcf/services/remote/RegistersProxy.java
@@ -148,8 +148,7 @@ public class RegistersProxy implements IRegisters {
}
public String getRole() {
- // TODO Auto-generated method stub
- return null;
+ return (String)props.get(PROP_ROLE);
}
public IToken get(final DoneGet done) {
diff --git a/plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/tcf/services/IProcesses.java b/plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/tcf/services/IProcesses.java
index a9136507f..78320ff03 100644
--- a/plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/tcf/services/IProcesses.java
+++ b/plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/tcf/services/IProcesses.java
@@ -148,7 +148,7 @@ public interface IProcesses extends IService {
* Get all available context properties.
* @return Map 'property name' -> 'property value'
*/
- Map<String, Object> getProperties();
+ Map<String,Object> getProperties();
/**
* Attach debugger to a process.
@@ -316,7 +316,8 @@ public interface IProcesses extends IService {
/**
* Called when a process exits.
* @param process_id - process context ID
- * @param exit_code - process exit code
+ * @param exit_code - if >= 0 - the process exit code,
+ * if < 0 - process was terminated by a signal, the signal code = -exit_code.
*/
void exited(String process_id, int exit_code);
}

Back to the top