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:
parent
ef21fed3e8
commit
35e6b69536
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue