diff options
Diffstat (limited to 'debug')
-rw-r--r-- | debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIBreakpoint.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIBreakpoint.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIBreakpoint.java index c427e0a532d..26f294da4a4 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIBreakpoint.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIBreakpoint.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2010 QNX Software Systems and others. + * Copyright (c) 2000, 2011 QNX Software Systems and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,6 +7,7 @@ * * Contributors: * QNX Software Systems - Initial API and implementation + * Abeer Bagul (Tensilica) - Differentiate between hw breakpoint and watchpoint *******************************************************************************/ package org.eclipse.cdt.debug.mi.core.output; @@ -202,8 +203,10 @@ public class MIBreakpoint { //type="hw watchpoint" if (type.startsWith("hw")) { //$NON-NLS-1$ isHdw = true; - isWWpt = true; - isWpt = true; + if (type.indexOf("watchpoint") != -1) {//$NON-NLS-1$ + isWWpt = true; + isWpt = true; + } } //type="acc watchpoint" if (type.startsWith("acc")) { //$NON-NLS-1$ |