mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
set up debug stream properly for debug console
This commit is contained in:
parent
36c5a5c62b
commit
74d27ecb20
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ void connect_to_console(Funcdata *fd)
|
||||||
decomp_data->conf = fd->getArch();
|
decomp_data->conf = fd->getArch();
|
||||||
ostream *oldPrintStream = decomp_data->conf->print->getOutputStream();
|
ostream *oldPrintStream = decomp_data->conf->print->getOutputStream();
|
||||||
bool emitXml = decomp_data->conf->print->emitsXml();
|
bool emitXml = decomp_data->conf->print->emitsXml();
|
||||||
|
decomp_data->conf->setDebugStream(remote->getOutputStream());
|
||||||
decomp_data->conf->print->setOutputStream(remote->getOutputStream());
|
decomp_data->conf->print->setOutputStream(remote->getOutputStream());
|
||||||
decomp_data->conf->print->setXML(false);
|
decomp_data->conf->print->setXML(false);
|
||||||
ghidra_dcp->reset();
|
ghidra_dcp->reset();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue