summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Dumais2013-08-13 10:38:37 (EDT)
committerMarc Khouzam2013-08-13 11:46:22 (EDT)
commitba51b3e74fdde74cf674854ce701c469146b35d4 (patch)
tree8522945a32ba1810608a4822917e1e0719c75382
parent1e7dab2588665895502ab59ff982074116dc7a78 (diff)
downloadorg.eclipse.cdt-ba51b3e74fdde74cf674854ce701c469146b35d4.zip
org.eclipse.cdt-ba51b3e74fdde74cf674854ce701c469146b35d4.tar.gz
org.eclipse.cdt-ba51b3e74fdde74cf674854ce701c469146b35d4.tar.bz2
Bug 414959 - Attach to process fails in all-stop moderefs/changes/25/15425/4
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>
-rw-r--r--dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MITargetAttach.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MITargetAttach.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MITargetAttach.java
index 6073113..3c797d1 100644
--- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MITargetAttach.java
+++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MITargetAttach.java
@@ -8,6 +8,7 @@
* Contributors:
* Ericsson - Initial API and implementation
* Onur Akdemir (TUBITAK BILGEM-ITI) - Multi-process debugging (Bug 237306)
+ * Marc Dumais (Ericsson) - Bug 414959
*******************************************************************************/
package org.eclipse.cdt.dsf.mi.service.command.commands;
@@ -56,6 +57,6 @@ public class MITargetAttach extends MICommand<MIInfo> {
* @since 4.0
*/
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$
}
}