author | l12wang |
Mon, 23 Nov 2009 00:59:16 -0600 | |
changeset 117 | 09f3d307f081 |
parent 37 | c2bce6dd59e7 |
child 122 | d94b9ba55bed |
permissions | -rw-r--r-- |
37 | 1 |
/******************************************************************************* |
2 |
* Copyright (c) 2007, 2008 Wind River and others. |
|
3 |
* All rights reserved. This program and the accompanying materials |
|
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
|
5 |
* which accompanies this distribution, and is available at |
|
6 |
* http://www.eclipse.org/legal/epl-v10.html |
|
7 |
* |
|
8 |
* Contributors: |
|
9 |
* Wind River - Initial API and implementation |
|
10 |
* Ericsson - High-level breakpoints integration |
|
11 |
* Ericsson - Added breakpoint filter support |
|
12 |
* Ericsson - Re-factored the service and put a few comments |
|
13 |
* Ericsson - Added Action support |
|
14 |
*******************************************************************************/ |
|
15 |
||
16 |
package org.eclipse.cdt.dsf.mi.service; |
|
17 |
||
117
09f3d307f081
Overhauled BreakpointsMediator to support both EDC and GDB properly. See Eclipse bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=292468
l12wang
parents:
37
diff
changeset
|
18 |
import org.eclipse.cdt.dsf.debug.service.BreakpointsMediator; |
37 | 19 |
import org.eclipse.cdt.dsf.service.DsfSession; |
20 |
||
21 |
/** |
|
22 |
* Breakpoint service interface. The breakpoint service tracks CDT breakpoint |
|
23 |
* objects, and based on those, it manages breakpoints in the debugger back end. |
|
24 |
* |
|
25 |
* It relies on MIBreakpoints for the actual back-end interface. |
|
26 |
*/ |
|
117
09f3d307f081
Overhauled BreakpointsMediator to support both EDC and GDB properly. See Eclipse bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=292468
l12wang
parents:
37
diff
changeset
|
27 |
public class MIBreakpointsManager extends BreakpointsMediator |
37 | 28 |
{ |
29 |
/** |
|
30 |
* The service constructor. |
|
31 |
* Performs basic instantiation (method initialize() performs the real |
|
32 |
* service initialization asynchronously). |
|
33 |
* |
|
34 |
* @param session the debugging session |
|
35 |
* @param debugModelId the debugging model |
|
36 |
*/ |
|
37 |
public MIBreakpointsManager(DsfSession session, String debugModelId) { |
|
117
09f3d307f081
Overhauled BreakpointsMediator to support both EDC and GDB properly. See Eclipse bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=292468
l12wang
parents:
37
diff
changeset
|
38 |
super(session, new MIBreakpointAttributeTranslator(session, debugModelId)); |
37 | 39 |
} |
40 |
} |