Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonah Graham2018-11-16 06:24:36 -0500
committerJonah Graham2018-11-16 06:36:58 -0500
commitbee6341c18656e5304b4a8eb36f881c8fbf149d7 (patch)
tree829cb7fbf8b08a5d3a9c6f53ed953adeab8a09d5
parentb46dc87dc69c7f8e6f81eda4fc4e87df3477d314 (diff)
downloadorg.eclipse.cdt-bee6341c18656e5304b4a8eb36f881c8fbf149d7.tar.gz
org.eclipse.cdt-bee6341c18656e5304b4a8eb36f881c8fbf149d7.tar.xz
org.eclipse.cdt-bee6341c18656e5304b4a8eb36f881c8fbf149d7.zip
Bug 541069: Don't error on missing variables when doing substitution
This is a follow up to 60d95da97b7b654d6346efd190aaef5211fc57ea (Bug 399460) as in that change the reporting option inadvertently changed. Change-Id: I1afe70632107ab388be09a707e8e9fc419f76b91
-rw-r--r--dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/GdbLaunch.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/GdbLaunch.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/GdbLaunch.java
index 0d61bc7b28..399df0a646 100644
--- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/GdbLaunch.java
+++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/GdbLaunch.java
@@ -481,13 +481,13 @@ public class GdbLaunch extends DsfLaunch implements ITerminate, IDisconnect, ITr
}
if (gdb != null) {
IProject project = getProject();
- gdb = new DebugStringVariableSubstitutor(project).performStringSubstitution(gdb);
+ gdb = new DebugStringVariableSubstitutor(project).performStringSubstitution(gdb, false);
return new Path(gdb);
} else {
return null;
}
} catch (CoreException e) {
- GdbPlugin.log(e.getStatus());
+ GdbPlugin.log(e);
return null;
}
}

Back to the top