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 @Override
public BigInteger getLastKnownAddress() { public BigInteger getLastKnownAddress() {
return BigInteger.valueOf(-1); return UNKNOWN_ADDRESS;
} }
} }

View file

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