From 7c92312b57d3f9212718633e5831e85927db3822 Mon Sep 17 00:00:00 2001 From: John Cortell Date: Thu, 8 Apr 2010 14:53:17 +0000 Subject: [PATCH] minor. wrong cathcpoint type specified, but catchpoint creation is supposed to fail in this case anyway. --- .../org/eclipse/cdt/tests/dsf/gdb/tests/MICatchpointsTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/MICatchpointsTest.java b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/MICatchpointsTest.java index 29e4e942ff8..098c37416da 100644 --- a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/MICatchpointsTest.java +++ b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/MICatchpointsTest.java @@ -24,7 +24,6 @@ import java.util.ListIterator; import java.util.Map; import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants; -import org.eclipse.cdt.debug.core.model.ICEventBreakpoint; import org.eclipse.cdt.dsf.concurrent.DataRequestMonitor; import org.eclipse.cdt.dsf.concurrent.RequestMonitor; import org.eclipse.cdt.dsf.datamodel.IDMContext; @@ -570,7 +569,7 @@ public class MICatchpointsTest extends BaseTestCase { // Attempt to create a catchpoint with an invalid execution context (should fail) Map breakpoint = new HashMap(); breakpoint.put(MIBreakpoints.BREAKPOINT_TYPE, MIBreakpoints.CATCHPOINT); - breakpoint.put(MIBreakpoints.CATCHPOINT_TYPE, ICEventBreakpoint.EVENT_TYPE_THROW); + breakpoint.put(MIBreakpoints.CATCHPOINT_TYPE, "throw"); insertBreakpoint(null, breakpoint); // Ensure it failed