1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2025-02-17 02:31:41 +01:00

(mi_init): Turn off buffering for stdout and stderr when debugging is enabled.

(Logical change 1.87)
This commit is contained in:
mostang.com!davidm 2003-04-24 20:45:07 +00:00
parent 2404a17c82
commit a38d3f6275

View file

@ -40,6 +40,12 @@ mi_init (void)
if (str)
tdep_debug_level = atoi (str);
if (tdep_debug_level > 0)
{
setbuf (stdout, NULL);
setbuf (stderr, NULL);
}
#endif
if (sizeof (struct cursor) > sizeof (unw_cursor_t))