mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-14 11:45:38 +02:00
Bug 337851 - cosmetics
This commit is contained in:
parent
d5f3272f20
commit
100760804a
2 changed files with 6 additions and 5 deletions
|
@ -85,6 +85,6 @@ public abstract class AbstractDisassemblyBackend implements IDisassemblyBackend
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BigInteger getLastKnownAddress() {
|
public BigInteger getLastKnownAddress() {
|
||||||
return BigInteger.valueOf(-1);
|
return UNKNOWN_ADDRESS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -201,14 +201,15 @@ public interface IDisassemblyBackend {
|
||||||
void updateExtendedPCAnnotation(IAnnotationModel model);
|
void updateExtendedPCAnnotation(IAnnotationModel model);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns true if this backend can disassemble instructions.
|
* This is a test for the current context.
|
||||||
* @return true if backend can perform disassemble
|
*
|
||||||
|
* @return true if backend can perform disassemble, otherwise false
|
||||||
*/
|
*/
|
||||||
boolean canDisassemble();
|
boolean canDisassemble();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the last know address, this API will be call if the selected
|
* Returns the last known address, this API will be call if the selected debug context is not a stackframe.
|
||||||
* debug context is not a stackframe.
|
*
|
||||||
* @return the last know address, -1 if unknown
|
* @return the last know address, -1 if unknown
|
||||||
*/
|
*/
|
||||||
BigInteger getLastKnownAddress();
|
BigInteger getLastKnownAddress();
|
||||||
|
|
Loading…
Add table
Reference in a new issue