Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Khodjaiants2008-04-07 08:52:18 +0000
committerMikhail Khodjaiants2008-04-07 08:52:18 +0000
commit52555085ca957a76dad362499cce590a7280cde7 (patch)
treeb19f3f4c8333eafd3aab845f5622bc8ee1276979 /debug/org.eclipse.cdt.debug.core
parent25e5bf25be5588f60c1d536741e0d0bef63f697c (diff)
downloadorg.eclipse.cdt-52555085ca957a76dad362499cce590a7280cde7.tar.gz
org.eclipse.cdt-52555085ca957a76dad362499cce590a7280cde7.tar.xz
org.eclipse.cdt-52555085ca957a76dad362499cce590a7280cde7.zip
Contributing new disassembly.
Diffstat (limited to 'debug/org.eclipse.cdt.debug.core')
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CDisassemblyContextProvider.java36
1 files changed, 36 insertions, 0 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CDisassemblyContextProvider.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CDisassemblyContextProvider.java
new file mode 100644
index 00000000000..43735b8634c
--- /dev/null
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CDisassemblyContextProvider.java
@@ -0,0 +1,36 @@
+/*******************************************************************************
+ * Copyright (c) 2008 ARM Limited and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * ARM Limited - Initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.cdt.debug.internal.core;
+
+import org.eclipse.cdt.debug.core.disassembly.IDisassemblyContextProvider;
+
+/**
+ * org.eclipse.cdt.debug.internal.core.CDisassemblyContextProvider:
+ * //TODO Add description.
+ */
+public class CDisassemblyContextProvider implements IDisassemblyContextProvider {
+
+ /* (non-Javadoc)
+ * @see org.eclipse.cdt.debug.core.disassembly.IDisassemblyContextProvider#getDisassemblyContext(java.lang.Object)
+ */
+ public Object getDisassemblyContext( Object element ) {
+// if ( element instanceof ICDebugElement ) {
+// IDebugTarget target = ((ICDebugElement)element).getDebugTarget();
+// try {
+// return ((ICDebugTarget)target).getDisassembly();
+// }
+// catch( DebugException e ) {
+// }
+// }
+ return null;
+ }
+}

Back to the top