Ghidra is a software reverse engineering (SRE) framework
set up debug stream properly for debug console
caheckman74d27ecb20c1
diff --git a/Ghidra/Features/Decompiler/src/decompile/cpp/ghidra_process.cc b/Ghidra/Features/Decompiler/src/decompile/cpp/ghidra_process.ccindex 8eded9ff56..e78b0c0ced 100644--- a/Ghidra/Features/Decompiler/src/decompile/cpp/ghidra_process.cc+++ b/Ghidra/Features/Decompiler/src/decompile/cpp/ghidra_process.cc@@ -48,6 +48,7 @@ void connect_to_console(Funcdata *fd)decomp_data->conf = fd->getArch();ostream *oldPrintStream = decomp_data->conf->print->getOutputStream();bool emitXml = decomp_data->conf->print->emitsXml();+ decomp_data->conf->setDebugStream(remote->getOutputStream());decomp_data->conf->print->setOutputStream(remote->getOutputStream());decomp_data->conf->print->setXML(false);ghidra_dcp->reset();