mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-13 19:25: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
|
||||
public BigInteger getLastKnownAddress() {
|
||||
return BigInteger.valueOf(-1);
|
||||
return UNKNOWN_ADDRESS;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -201,14 +201,15 @@ public interface IDisassemblyBackend {
|
|||
void updateExtendedPCAnnotation(IAnnotationModel model);
|
||||
|
||||
/**
|
||||
* Returns true if this backend can disassemble instructions.
|
||||
* @return true if backend can perform disassemble
|
||||
* This is a test for the current context.
|
||||
*
|
||||
* @return true if backend can perform disassemble, otherwise false
|
||||
*/
|
||||
boolean canDisassemble();
|
||||
|
||||
/**
|
||||
* Returns the last know address, this API will be call if the selected
|
||||
* debug context is not a stackframe.
|
||||
* Returns the last known address, this API will be call if the selected debug context is not a stackframe.
|
||||
*
|
||||
* @return the last know address, -1 if unknown
|
||||
*/
|
||||
BigInteger getLastKnownAddress();
|
||||
|
|
Loading…
Add table
Reference in a new issue