Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Chuong2010-12-21 11:53:48 -0500
committerPatrick Chuong2010-12-21 11:53:48 -0500
commit581d1af49fddb82d62fa51728a1292772b50b8dd (patch)
treee9027ac7b5661e3f30b47e5ce767289d0cdd1b1f /dsf/org.eclipse.cdt.dsf
parent9551d8a72443b7354aafb672707d99af95ca3160 (diff)
downloadorg.eclipse.cdt-581d1af49fddb82d62fa51728a1292772b50b8dd.tar.gz
org.eclipse.cdt-581d1af49fddb82d62fa51728a1292772b50b8dd.tar.xz
org.eclipse.cdt-581d1af49fddb82d62fa51728a1292772b50b8dd.zip
Bug 328168 - Disassembly view does not align address enter new address manually
Diffstat (limited to 'dsf/org.eclipse.cdt.dsf')
-rw-r--r--dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IDisassembly2.java37
1 files changed, 37 insertions, 0 deletions
diff --git a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IDisassembly2.java b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IDisassembly2.java
new file mode 100644
index 0000000000..d386f51010
--- /dev/null
+++ b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IDisassembly2.java
@@ -0,0 +1,37 @@
+/*****************************************************************
+ * Copyright (c) 2010 Texas Instruments 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:
+ * Patrick Chuong (Texas Instruments) - Bug 328168
+ *****************************************************************/
+package org.eclipse.cdt.dsf.debug.service;
+
+import java.math.BigInteger;
+
+import org.eclipse.cdt.dsf.concurrent.DataRequestMonitor;
+
+/**
+ * This interface extends the disassembly service with support for
+ * address alignment extension request.
+ *
+ * @since 2.2
+ */
+public interface IDisassembly2 extends IDisassembly {
+ /**
+ * Aligns the given opCode address. This method will be call for each
+ * disassembly request, the service should try to resolve
+ * the given address and align it to a valid opCode address.
+ *
+ * @param context context of the disassembly code
+ * @param address the address to align
+ * @param drm aligned address
+ */
+ void alignOpCodeAddress(
+ IDisassemblyDMContext context,
+ BigInteger address,
+ DataRequestMonitor<BigInteger> drm);
+}

Back to the top