Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IInstruction.java')
-rw-r--r--dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IInstruction.java51
1 files changed, 51 insertions, 0 deletions
diff --git a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IInstruction.java b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IInstruction.java
new file mode 100644
index 00000000000..dd547ff5746
--- /dev/null
+++ b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IInstruction.java
@@ -0,0 +1,51 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Ericsson 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:
+ * Ericsson - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.cdt.dsf.debug.service;
+
+import java.math.BigInteger;
+
+/**
+ * Represents an assembly instruction
+ */
+public interface IInstruction {
+
+ /**
+ * @return the instruction address.
+ */
+ BigInteger getAdress();
+
+ /**
+ * @return the function name.
+ */
+ String getFuntionName();
+
+ /**
+ * @return the offset of this machine instruction
+ */
+ long getOffset();
+
+ /**
+ * @return the instruction.
+ */
+ String getInstruction();
+
+ /**
+ * @return the opcode
+ */
+ String getOpcode();
+
+ /**
+ * @return any arguments to the instruction
+ */
+ String getArgs();
+
+}

Back to the top