mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Bug 323636: The thread value was getting overwritten if the disabled flag was also used.
This commit is contained in:
parent
017a6ef082
commit
25e014ce24
1 changed files with 4 additions and 3 deletions
|
@ -116,7 +116,7 @@ public class MIBreakInsert extends MICommand<MIBreakInsertInfo>
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
if (isTracepoint) {
|
if (isTracepoint) {
|
||||||
i ++;
|
i++;
|
||||||
}
|
}
|
||||||
String[] opts = new String[i];
|
String[] opts = new String[i];
|
||||||
|
|
||||||
|
@ -147,14 +147,15 @@ public class MIBreakInsert extends MICommand<MIBreakInsertInfo>
|
||||||
opts[i] = "-p"; //$NON-NLS-1$
|
opts[i] = "-p"; //$NON-NLS-1$
|
||||||
i++;
|
i++;
|
||||||
opts[i] = Integer.toString(tid);
|
opts[i] = Integer.toString(tid);
|
||||||
|
i++;
|
||||||
}
|
}
|
||||||
if (disabled) {
|
if (disabled) {
|
||||||
opts[i] = "-d"; //$NON-NLS-1$
|
opts[i] = "-d"; //$NON-NLS-1$
|
||||||
i ++;
|
i++;
|
||||||
}
|
}
|
||||||
if (isTracepoint) {
|
if (isTracepoint) {
|
||||||
opts[i] = "-a"; //$NON-NLS-1$
|
opts[i] = "-a"; //$NON-NLS-1$
|
||||||
i ++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (opts.length > 0) {
|
if (opts.length > 0) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue