mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
Bug 457697: Avoid unnecessary escaping in GDB MI command
Change-Id: I2c7590190fbce258fb6452f0d555bc276d4a9dda
This commit is contained in:
parent
5e9fc00242
commit
cb56590d4c
1 changed files with 1 additions and 2 deletions
|
@ -325,8 +325,7 @@ public class GDBJtagDSFFinalLaunchSequence extends FinalLaunchSequence {
|
|||
public void stepSetExecutableFile(final RequestMonitor rm) {
|
||||
final IPath programPath = fGDBBackend.getProgramPath();
|
||||
if (!programPath.isEmpty()) {
|
||||
// Escape backslashes for GDB
|
||||
final String file = programPath.toOSString().replace("\\", "\\\\"); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
final String file = programPath.toOSString();
|
||||
fCommandControl.queueCommand(
|
||||
fCommandControl.getCommandFactory().createMIFileExecFile(fCommandControl.getContext(), file),
|
||||
new ImmediateDataRequestMonitor<MIInfo>(rm));
|
||||
|
|
Loading…
Add table
Reference in a new issue