Skip to main content
summaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorWarren Paul2008-05-29 08:36:43 -0400
committerWarren Paul2008-05-29 08:36:43 -0400
commitc33ef0d4707b9af1244b9ca2f60d6a0130b24210 (patch)
tree0950a0e65d007c8036f7ba1952ad4732d79683fb /debug
parent02048cd67fb793face874dd68062a6e25ce71193 (diff)
downloadorg.eclipse.cdt-c33ef0d4707b9af1244b9ca2f60d6a0130b24210.tar.gz
org.eclipse.cdt-c33ef0d4707b9af1244b9ca2f60d6a0130b24210.tar.xz
org.eclipse.cdt-c33ef0d4707b9af1244b9ca2f60d6a0130b24210.zip
fixed breakpoint creation with new type argument.
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java1
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ToggleBreakpointAdapter.java1
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/elements/adapters/DisassemblyToggleBreakpointAdapter.java2
3 files changed, 4 insertions, 0 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java
index 5cbd5aebca..f2eff24abd 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java
@@ -1014,6 +1014,7 @@ public class CBreakpointManager implements IBreakpointsListener, IBreakpointMana
binary,
sourceHandle,
resource,
+ ICBreakpointType.REGULAR,
line,
address,
cdiBreakpoint.isEnabled(),
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ToggleBreakpointAdapter.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ToggleBreakpointAdapter.java
index 8b47f28237..2ea549e517 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ToggleBreakpointAdapter.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ToggleBreakpointAdapter.java
@@ -174,6 +174,7 @@ public class ToggleBreakpointAdapter implements IToggleBreakpointsTarget {
CDIDebugModel.createAddressBreakpoint( module,
sourceHandle,
resource,
+ ICBreakpointType.REGULAR,
((DisassemblyEditorInput)input).getSourceLine( lineNumber ),
address,
true,
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/elements/adapters/DisassemblyToggleBreakpointAdapter.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/elements/adapters/DisassemblyToggleBreakpointAdapter.java
index e640fcbd41..90764658bd 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/elements/adapters/DisassemblyToggleBreakpointAdapter.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/elements/adapters/DisassemblyToggleBreakpointAdapter.java
@@ -15,6 +15,7 @@ import java.math.BigInteger;
import org.eclipse.cdt.core.IAddress;
import org.eclipse.cdt.debug.core.CDIDebugModel;
+import org.eclipse.cdt.debug.core.model.ICBreakpointType;
import org.eclipse.cdt.debug.core.model.ICDebugTarget;
import org.eclipse.cdt.debug.core.model.ICLineBreakpoint;
import org.eclipse.cdt.debug.core.model.IDisassemblyInstruction;
@@ -59,6 +60,7 @@ public class DisassemblyToggleBreakpointAdapter implements IElementToggleBreakpo
null,
"", //$NON-NLS-1$
ResourcesPlugin.getWorkspace().getRoot(),
+ ICBreakpointType.REGULAR,
-1,
address,
true,

Back to the top