Skip to main content
summaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorWarren Paul2010-05-24 18:07:06 +0000
committerWarren Paul2010-05-24 18:07:06 +0000
commitf918a234f1c93340b1085b4748807ea026294ef3 (patch)
treed8c0384cc1a5c619153fd6979245c3296137a7ad /debug
parentba99f3a2d56296d8476e652c4e539de38e1d567d (diff)
downloadorg.eclipse.cdt-f918a234f1c93340b1085b4748807ea026294ef3.tar.gz
org.eclipse.cdt-f918a234f1c93340b1085b4748807ea026294ef3.tar.xz
org.eclipse.cdt-f918a234f1c93340b1085b4748807ea026294ef3.zip
fixed bug #314152.
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/executables/Executable.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/executables/Executable.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/executables/Executable.java
index f4ace4f7910..af9f58f67a5 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/executables/Executable.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/executables/Executable.java
@@ -241,7 +241,9 @@ public class Executable extends PlatformObject {
tu = new ExternalTranslationUnit(cproject, uri, id);
}
- sourceFiles.add(tu);
+ if (!sourceFiles.contains(tu)) {
+ sourceFiles.add(tu);
+ }
if (!orgPath.equals(filename)) {
remappedPaths.put(tu, orgPath);

Back to the top