1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-04 14:13:24 +02:00

Bug 414959 - Attach to process fails in all-stop mode

Change-Id: Ib3ada0d14561cdcfbc0ce7c509b66e41d66c8c59
Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15425
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
Marc Dumais 2013-08-13 10:38:37 -04:00 committed by Marc Khouzam
parent 1e7dab2588
commit ba51b3e74f

View file

@ -8,6 +8,7 @@
* Contributors: * Contributors:
* Ericsson - Initial API and implementation * Ericsson - Initial API and implementation
* Onur Akdemir (TUBITAK BILGEM-ITI) - Multi-process debugging (Bug 237306) * Onur Akdemir (TUBITAK BILGEM-ITI) - Multi-process debugging (Bug 237306)
* Marc Dumais (Ericsson) - Bug 414959
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.dsf.mi.service.command.commands; package org.eclipse.cdt.dsf.mi.service.command.commands;
@ -56,6 +57,6 @@ public class MITargetAttach extends MICommand<MIInfo> {
* @since 4.0 * @since 4.0
*/ */
public MITargetAttach(IMIContainerDMContext ctx, String pid, boolean interrupt) { public MITargetAttach(IMIContainerDMContext ctx, String pid, boolean interrupt) {
super(ctx, "-target-attach", new String[] { pid, interrupt ? "" : "&" }); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ super(ctx, "-target-attach", new String[] { pid + (interrupt ? "" : "&") }); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
} }
} }