1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-10 01:35:39 +02:00

Bug 108130: wrong type shown on breakpoint view for R watchpoint created from gdb console.

This commit is contained in:
Mikhail Khodjaiants 2005-08-26 15:50:10 +00:00
parent 282d9eb299
commit 4604a2056f
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2005-08-26 Mikhail Khodjaiants
Bug 108130: wrong type shown on breakpoint view for R watchpoint created from gdb console.
* cdi/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java
2005-08-25 Mikhail Khodjaiants
Bug 66446: Use the debugger path as a debugger process label.
* src/org/eclipse/cdt/debug/mi/core/GDBCDIDebugger.java

View file

@ -419,10 +419,10 @@ public class BreakpointManager extends Manager {
if (allMIBreakpoints[i].isWatchpoint()) {
int watchType = 0;
if (allMIBreakpoints[i].isAccessWatchpoint() || allMIBreakpoints[i].isReadWatchpoint()) {
watchType &= ICDIWatchpoint.READ;
watchType |= ICDIWatchpoint.READ;
}
if (allMIBreakpoints[i].isAccessWatchpoint() || allMIBreakpoints[i].isWriteWatchpoint()) {
watchType &= ICDIWatchpoint.WRITE;
watchType |= ICDIWatchpoint.WRITE;
}
Watchpoint wpoint = new Watchpoint(target, allMIBreakpoints[i].getWhat(), type, watchType, condition);
wpoint.setMIBreakpoints(new MIBreakpoint[] {allMIBreakpoints[i]});