Skip to main content
summaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorMarc Khouzam2011-02-01 21:33:42 -0500
committerMarc Khouzam2011-02-01 21:33:42 -0500
commita10ab1852d0991d097949a81d093c11e61fb5ddb (patch)
tree8800034ba43e32ce94c36dcd029e505a9aa18edd /debug
parent9c4c909ba9db15130bb5378aecc1080dc78daab3 (diff)
downloadorg.eclipse.cdt-a10ab1852d0991d097949a81d093c11e61fb5ddb.tar.gz
org.eclipse.cdt-a10ab1852d0991d097949a81d093c11e61fb5ddb.tar.xz
org.eclipse.cdt-a10ab1852d0991d097949a81d093c11e61fb5ddb.zip
Bug 335648: Differentiate between hw breakpoint and watchpoint
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIBreakpoint.java9
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 c427e0a532..26f294da4a 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$

Back to the top