diff --git a/debug/org.eclipse.cdt.debug.mi.core/ChangeLog b/debug/org.eclipse.cdt.debug.mi.core/ChangeLog index b02333871ae..0c0a821157c 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/ChangeLog +++ b/debug/org.eclipse.cdt.debug.mi.core/ChangeLog @@ -1,3 +1,7 @@ +2006-04-17 Mikhail Khodjaiants + Breakpoint can be temporary and hardware at the same time. + * MIBreakInsert.java + 2006-04-16 Mikhail Khodjaiants Bug 113107: Make trace logs more readily available. * AbstractGDBCDIDebugger.java diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakInsert.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakInsert.java index 02f3f1a63f5..f754c744c2a 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakInsert.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/MIBreakInsert.java @@ -69,7 +69,10 @@ public class MIBreakInsert extends MICommand super(miVersion, "-break-insert"); //$NON-NLS-1$ int i = 0; - if (isTemporary || isHardware) { + if (isTemporary) { + i++; + } + if (isHardware) { i++; } if (condition != null && condition.length() > 0) { @@ -87,7 +90,8 @@ public class MIBreakInsert extends MICommand if (isTemporary) { opts[i] = "-t"; //$NON-NLS-1$ i++; - } else if (isHardware) { + } + if (isHardware) { opts[i] = "-h"; //$NON-NLS-1$ i++; }