set up debug stream properly for debug console

This commit is contained in:
caheckman 2020-05-15 13:10:00 -04:00
parent 36c5a5c62b
commit 74d27ecb20

View file

@ -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();