mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
GP-0: Fix control service.
This commit is contained in:
parent
f9103016b1
commit
0e826aa1c7
2 changed files with 42 additions and 26 deletions
|
@ -90,6 +90,14 @@ public enum ControlMode {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ControlMode modeOnChange(DebuggerCoordinates coordinates) {
|
||||
if (coordinates.isAliveAndPresent()) {
|
||||
return this;
|
||||
}
|
||||
return getAlternative(coordinates);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isSelectable(DebuggerCoordinates coordinates) {
|
||||
return coordinates.isAlive();
|
||||
|
@ -151,6 +159,14 @@ public enum ControlMode {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ControlMode modeOnChange(DebuggerCoordinates coordinates) {
|
||||
if (coordinates.isAliveAndPresent()) {
|
||||
return this;
|
||||
}
|
||||
return getAlternative(coordinates);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isSelectable(DebuggerCoordinates coordinates) {
|
||||
return coordinates.isAlive();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue