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

[237308] Don't add the inferior to the launch in the case of attach sessions.

This commit is contained in:
Marc Khouzam 2009-03-05 18:32:34 +00:00
parent ef21fed3e8
commit 35e6b69536

View file

@ -161,7 +161,9 @@ public class GdbLaunchDelegate extends LaunchConfigurationDelegate
// Add the CLI and "inferior" process objects to the launch.
launch.addCLIProcess("gdb"); //$NON-NLS-1$
launch.addInferiorProcess(exePath.lastSegment());
if (!attach) {
launch.addInferiorProcess(exePath.lastSegment());
}
monitor.worked(1);