mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Breakpoint can be temporary and hardware at the same time.
This commit is contained in:
parent
7814922230
commit
9cbc718f2b
2 changed files with 10 additions and 2 deletions
|
@ -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
|
2006-04-16 Mikhail Khodjaiants
|
||||||
Bug 113107: Make trace logs more readily available.
|
Bug 113107: Make trace logs more readily available.
|
||||||
* AbstractGDBCDIDebugger.java
|
* AbstractGDBCDIDebugger.java
|
||||||
|
|
|
@ -69,7 +69,10 @@ public class MIBreakInsert extends MICommand
|
||||||
super(miVersion, "-break-insert"); //$NON-NLS-1$
|
super(miVersion, "-break-insert"); //$NON-NLS-1$
|
||||||
|
|
||||||
int i = 0;
|
int i = 0;
|
||||||
if (isTemporary || isHardware) {
|
if (isTemporary) {
|
||||||
|
i++;
|
||||||
|
}
|
||||||
|
if (isHardware) {
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
if (condition != null && condition.length() > 0) {
|
if (condition != null && condition.length() > 0) {
|
||||||
|
@ -87,7 +90,8 @@ public class MIBreakInsert extends MICommand
|
||||||
if (isTemporary) {
|
if (isTemporary) {
|
||||||
opts[i] = "-t"; //$NON-NLS-1$
|
opts[i] = "-t"; //$NON-NLS-1$
|
||||||
i++;
|
i++;
|
||||||
} else if (isHardware) {
|
}
|
||||||
|
if (isHardware) {
|
||||||
opts[i] = "-h"; //$NON-NLS-1$
|
opts[i] = "-h"; //$NON-NLS-1$
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue