lightning
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disassembler output stream


From: Paul Cercueil
Subject: Re: Disassembler output stream
Date: Mon, 17 May 2021 19:34:49 +0100

Hi,

This now breaks it for me :)

My dynarec right now outputs all debug data (including disassembly) to stdout, and I run scripts on the output to check compliance vs. the interpreter.

-Paul


Le lun., mai 17 2021 at 19:02:30 +0200, Marc Nieper-Wißkirchen <marc.nieper+gnu@gmail.com> a écrit :
Thanks a lot for the quick reply and the update!

Marc

Am Mo., 17. Mai 2021 um 18:35 Uhr schrieb Paulo César Pereira de Andrade <paulo.cesar.pereira.de.andrade@gmail.com>:
Em seg., 17 de mai. de 2021 às 06:10, Marc Nieper-Wißkirchen
 <marc.nieper+gnu@gmail.com> escreveu:
 >
 > Hi Paulo,

   Hi Marc,

> this is a feature request to either make stderr (instead of stdout) the disassembler output stream or to make it customizable.
 >
 > Currently, we have
 >
 > #define disasm_stream  stdout
 >
 > in jit_disasm.c.

Just created a static variable. An interface to change it might be added, as builds with --enable-devel-disassembler are very useful and far easier
 to debug.

> Especially for debugging programs that work as a pipe from stdin to stdout, it is important not to have the output cluttered with disassembly info.
 >
 > Thanks,
 >
 > Marc

 Thanks,
 Paulo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]