mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-31 12:55:40 +02:00
2005-02-01 Alain Magloire
Part of Fix for PR 84165 We check in the expression is a number and add a "*" for address watchpoint * cdi/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java
This commit is contained in:
parent
04d743c153
commit
956abd7934
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-02-01 Alain Magloire
|
||||||
|
Part of Fix for PR 84165
|
||||||
|
We check in the expression is a number and
|
||||||
|
add a "*" for address watchpoint
|
||||||
|
* cdi/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java
|
||||||
|
|
||||||
2005-01-20 Mikhail Khodjaiants
|
2005-01-20 Mikhail Khodjaiants
|
||||||
Fix for bug 83355: The disable/enable breakpoints durning debugging acts weird.
|
Fix for bug 83355: The disable/enable breakpoints durning debugging acts weird.
|
||||||
* cdi\org\eclipse\cdt\debug\mi\core\cdi\model\Breakpoint.java
|
* cdi\org\eclipse\cdt\debug\mi\core\cdi\model\Breakpoint.java
|
||||||
|
|
|
@ -698,6 +698,14 @@ public class BreakpointManager extends Manager {
|
||||||
boolean read = ( !((watchType & ICDIWatchpoint.WRITE) == ICDIWatchpoint.WRITE) &&
|
boolean read = ( !((watchType & ICDIWatchpoint.WRITE) == ICDIWatchpoint.WRITE) &&
|
||||||
(watchType & ICDIWatchpoint.READ) == ICDIWatchpoint.READ );
|
(watchType & ICDIWatchpoint.READ) == ICDIWatchpoint.READ );
|
||||||
|
|
||||||
|
try {
|
||||||
|
// Check if this an address watchpoint, and add a '*'
|
||||||
|
Integer.decode(expression);
|
||||||
|
expression = '*' + expression;
|
||||||
|
} catch (NumberFormatException e) {
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
MISession miSession = target.getMISession();
|
MISession miSession = target.getMISession();
|
||||||
boolean state = suspendInferior(target);
|
boolean state = suspendInferior(target);
|
||||||
CommandFactory factory = miSession.getCommandFactory();
|
CommandFactory factory = miSession.getCommandFactory();
|
||||||
|
|
Loading…
Add table
Reference in a new issue