From bee6341c18656e5304b4a8eb36f881c8fbf149d7 Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Fri, 16 Nov 2018 11:24:36 +0000 Subject: [PATCH] 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 --- .../src/org/eclipse/cdt/dsf/gdb/launching/GdbLaunch.java | 4 ++-- 1 file 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 0d61bc7b28b..399df0a646d 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; } }