Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFSourceRef.java')
-rw-r--r--plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFSourceRef.java42
1 files changed, 42 insertions, 0 deletions
diff --git a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFSourceRef.java b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFSourceRef.java
new file mode 100644
index 000000000..79c93a428
--- /dev/null
+++ b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFSourceRef.java
@@ -0,0 +1,42 @@
+/*******************************************************************************
+ * Copyright (c) 2008, 2010 Wind River Systems, Inc. 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:
+ * Wind River Systems - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.tm.internal.tcf.debug.model;
+
+import java.math.BigInteger;
+
+import org.eclipse.tm.tcf.services.ILineNumbers;
+
+/**
+ * Objects of this class represent a mapping between an address and source code area.
+ */
+public class TCFSourceRef {
+ public String context_id;
+ public int address_size;
+ public BigInteger address;
+ public ILineNumbers.CodeArea area;
+ public Throwable error;
+
+ public String toString() {
+ StringBuffer bf = new StringBuffer();
+ bf.append('[');
+ bf.append(context_id);
+ bf.append(',');
+ bf.append(address_size);
+ bf.append(',');
+ bf.append(address);
+ bf.append(',');
+ bf.append(area);
+ bf.append(',');
+ bf.append(error);
+ bf.append(']');
+ return bf.toString();
+ }
+}

Back to the top