mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-25 17:00:36 -09:00
GP-909: Adjusting how GDB resumes/steps to assure interrupts work.
This commit is contained in:
@@ -324,7 +324,7 @@ public abstract class AbstractDebuggerModelTest extends AbstractGhidraHeadedInte
|
||||
assertEquals(TargetExecutionState.RUNNING, stateful.getExecutionState());
|
||||
}, List.of(AssertionError.class));
|
||||
}
|
||||
// NB. Never have to wait to interrupt. (Hmmmm, do we believe this?)
|
||||
// NB. Never have to waitAcc to interrupt. It's likely inaccessible, anyway.
|
||||
waitOn(interruptible.interrupt());
|
||||
if (stateful != null) {
|
||||
retryVoid(() -> {
|
||||
|
||||
@@ -60,7 +60,9 @@ public class DummyProc implements AutoCloseable {
|
||||
|
||||
DummyProc(String... args) throws IOException {
|
||||
args[0] = which(args[0]);
|
||||
process = new ProcessBuilder(args).start();
|
||||
process = new ProcessBuilder(args)
|
||||
.inheritIO()
|
||||
.start();
|
||||
|
||||
pid = process.pid();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user