1
0
Fork 0
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:
Patrick Chuong 2013-07-29 16:48:22 -04:00
parent d5f3272f20
commit 100760804a
2 changed files with 6 additions and 5 deletions

View file

@ -85,6 +85,6 @@ public abstract class AbstractDisassemblyBackend implements IDisassemblyBackend
@Override
public BigInteger getLastKnownAddress() {
return BigInteger.valueOf(-1);
return UNKNOWN_ADDRESS;
}
}

View file

@ -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();