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