Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Blackburn2010-06-24 09:50:47 -0400
committerJames Blackburn2010-06-24 09:50:47 -0400
commita212d0d42fb200bcb04981fb9cdf9c70b5696fbf (patch)
tree6813502666e3dac6b87b06ab8bce5ca74f163f74 /debug/org.eclipse.cdt.debug.mi.core
parent72d386703f223c9dc89e822850ac2adc81845286 (diff)
downloadorg.eclipse.cdt-a212d0d42fb200bcb04981fb9cdf9c70b5696fbf.tar.gz
org.eclipse.cdt-a212d0d42fb200bcb04981fb9cdf9c70b5696fbf.tar.xz
org.eclipse.cdt-a212d0d42fb200bcb04981fb9cdf9c70b5696fbf.zip
Bug 314637 Register manager shouldn't log exception during debug session tear-down
Diffstat (limited to 'debug/org.eclipse.cdt.debug.mi.core')
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/RegisterManager.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/RegisterManager.java b/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/RegisterManager.java
index a8d0698eb5..372dc4d50c 100644
--- a/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/RegisterManager.java
+++ b/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/RegisterManager.java
@@ -421,7 +421,8 @@ public class RegisterManager extends Manager {
MIEvent[] events = (MIEvent[])eventList.toArray(new MIEvent[0]);
mi.fireEvents(events);
} catch (MIException e) {
- throw new MI2CDIException(e);
+ if (!target.isTerminated())
+ throw new MI2CDIException(e);
}
}

Back to the top