mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 15:15:25 +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:
parent
b46dc87dc6
commit
bee6341c18
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue