Package org.eclipse.cdt.utils
Class Addr2line
- java.lang.Object
-
- org.eclipse.cdt.utils.Addr2line
-
public class Addr2line extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
String
getFileName(IAddress address)
The format of the output: addr2line -C -f -e hello 08048442 main hello.c:39String
getFunction(IAddress address)
String
getLine(IAddress address)
int
getLineNumber(IAddress address)
The format of the output: addr2line -C -f -e hello 08048442 main hello.c:39protected void
getOutput(String address)
protected void
init(String command, String[] params, String file)
-
-
-
Constructor Detail
-
Addr2line
public Addr2line(String command, String[] params, String file) throws IOException
- Throws:
IOException
-
Addr2line
public Addr2line(String command, String file) throws IOException
- Throws:
IOException
-
Addr2line
public Addr2line(String file) throws IOException
- Throws:
IOException
-
-
Method Detail
-
init
protected void init(String command, String[] params, String file) throws IOException
- Throws:
IOException
-
getOutput
protected void getOutput(String address) throws IOException
- Throws:
IOException
-
getLine
public String getLine(IAddress address) throws IOException
- Throws:
IOException
-
getFunction
public String getFunction(IAddress address) throws IOException
- Throws:
IOException
-
getFileName
public String getFileName(IAddress address) throws IOException
The format of the output: addr2line -C -f -e hello 08048442 main hello.c:39- Throws:
IOException
-
getLineNumber
public int getLineNumber(IAddress address) throws IOException
The format of the output: addr2line -C -f -e hello 08048442 main hello.c:39- Throws:
IOException
-
dispose
public void dispose()
-
-