blob: 64f83ee4a0421d74725e8f37cb75dacc4bae5797 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
/*******************************************************************************
* Copyright (c) 2014 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.tcf.internal.debug.model;
import java.math.BigInteger;
import org.eclipse.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();
}
}
|