1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 07:05:24 +02:00

Bug 541069: Don't error on missing variables when doing substitution

This is a follow up to 60d95da97b (Bug
399460) as in that change the reporting option inadvertently changed.

Change-Id: I1afe70632107ab388be09a707e8e9fc419f76b91
This commit is contained in:
Jonah Graham 2018-11-16 11:24:36 +00:00
parent b46dc87dc6
commit bee6341c18

View file

@ -481,13 +481,13 @@ public class GdbLaunch extends DsfLaunch implements ITerminate, IDisconnect, ITr
} }
if (gdb != null) { if (gdb != null) {
IProject project = getProject(); IProject project = getProject();
gdb = new DebugStringVariableSubstitutor(project).performStringSubstitution(gdb); gdb = new DebugStringVariableSubstitutor(project).performStringSubstitution(gdb, false);
return new Path(gdb); return new Path(gdb);
} else { } else {
return null; return null;
} }
} catch (CoreException e) { } catch (CoreException e) {
GdbPlugin.log(e.getStatus()); GdbPlugin.log(e);
return null; return null;
} }
} }