mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
Merge remote-tracking branch
'origin/GP-1153_d-millar_file_stream_confusion_bug' into patch (Closes #3238)
This commit is contained in:
commit
19fa121b30
1 changed files with 14 additions and 14 deletions
|
@ -723,23 +723,23 @@ public class GdbManagerImpl implements GdbManager {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
curCmd = pcmd;
|
curCmd = pcmd;
|
||||||
}
|
//Msg.debug(this, "CURCMD = " + curCmd);
|
||||||
//Msg.debug(this, "CURCMD = " + curCmd);
|
|
||||||
if (LOG_IO) {
|
|
||||||
DBG_LOG.println("*CMD: " + cmd.getClass());
|
|
||||||
DBG_LOG.flush();
|
|
||||||
}
|
|
||||||
String text = cmd.encode();
|
|
||||||
if (text != null) {
|
|
||||||
Interpreter interpreter = cmd.getInterpreter();
|
|
||||||
PrintWriter wr = getWriter(interpreter);
|
|
||||||
//Msg.debug(this, "STDIN: " + text);
|
|
||||||
wr.println(text);
|
|
||||||
wr.flush();
|
|
||||||
if (LOG_IO) {
|
if (LOG_IO) {
|
||||||
DBG_LOG.println(">" + interpreter + ": " + text);
|
DBG_LOG.println("*CMD: " + cmd.getClass());
|
||||||
DBG_LOG.flush();
|
DBG_LOG.flush();
|
||||||
}
|
}
|
||||||
|
String text = cmd.encode();
|
||||||
|
if (text != null) {
|
||||||
|
Interpreter interpreter = cmd.getInterpreter();
|
||||||
|
PrintWriter wr = getWriter(interpreter);
|
||||||
|
//Msg.debug(this, "STDIN: " + text);
|
||||||
|
wr.println(text);
|
||||||
|
wr.flush();
|
||||||
|
if (LOG_IO) {
|
||||||
|
DBG_LOG.println(">" + interpreter + ": " + text);
|
||||||
|
DBG_LOG.flush();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}).exceptionally((exc) -> {
|
}).exceptionally((exc) -> {
|
||||||
pcmd.completeExceptionally(exc);
|
pcmd.completeExceptionally(exc);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue