mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 12:03:16 +02:00
Bug 335648: Differentiate between hw breakpoint and watchpoint
This commit is contained in:
parent
9c4c909ba9
commit
a10ab1852d
2 changed files with 12 additions and 6 deletions
|
@ -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$
|
||||
|
|
|
@ -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
|
||||
|
@ -10,6 +10,7 @@
|
|||
* Wind River Systems - Modified for new DSF Reference Implementation
|
||||
* Ericsson - Modified for the breakpoint service
|
||||
* Ericsson - Added Tracepoint support (284286)
|
||||
* Abeer Bagul (Tensilica) - Differentiate between hw breakpoint and watchpoint
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.dsf.mi.service.command.output;
|
||||
|
@ -433,8 +434,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$
|
||||
|
|
Loading…
Add table
Reference in a new issue