mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-22 20:22:44 +00: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
@ -723,23 +723,23 @@ public class GdbManagerImpl implements GdbManager {
|
||||
return;
|
||||
}
|
||||
curCmd = pcmd;
|
||||
}
|
||||
//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();
|
||||
//Msg.debug(this, "CURCMD = " + curCmd);
|
||||
if (LOG_IO) {
|
||||
DBG_LOG.println(">" + interpreter + ": " + text);
|
||||
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) {
|
||||
DBG_LOG.println(">" + interpreter + ": " + text);
|
||||
DBG_LOG.flush();
|
||||
}
|
||||
}
|
||||
}
|
||||
}).exceptionally((exc) -> {
|
||||
pcmd.completeExceptionally(exc);
|
||||
|
Loading…
Reference in New Issue
Block a user