mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
Merge remote-tracking branch 'origin/GP-3899_d-millar_memory_stale'
(#5817)
This commit is contained in:
commit
b0a07c7279
2 changed files with 11 additions and 0 deletions
|
@ -1798,5 +1798,9 @@ public class DbgManagerImpl implements DbgManager {
|
|||
getEventListeners().fire.threadSelected(eventThread, null, Causes.UNCLAIMED);
|
||||
}
|
||||
}
|
||||
|
||||
public DebugStatus getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -21,6 +21,7 @@ import java.util.Map;
|
|||
import java.util.concurrent.CompletableFuture;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import agent.dbgeng.dbgeng.DebugClient.DebugStatus;
|
||||
import agent.dbgeng.dbgeng.DebugModuleInfo;
|
||||
import agent.dbgeng.dbgeng.DebugProcessId;
|
||||
import agent.dbgeng.dbgeng.DebugThreadId;
|
||||
|
@ -113,6 +114,12 @@ public class DbgModelTargetProcessContainerImpl extends DbgModelTargetObjectImpl
|
|||
DbgReason reason) {
|
||||
DbgModelTargetProcess process = getTargetProcess(thread.getProcess());
|
||||
process.threadStateChangedSpecific(thread, state);
|
||||
if (!getManager().getStatus().equals(DebugStatus.STEP_INTO)) {
|
||||
DbgModelTargetMemoryContainer memory = process.getMemory();
|
||||
if (memory != null) {
|
||||
memory.requestElements(RefreshBehavior.REFRESH_ALWAYS);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue