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:
parent
2404a17c82
commit
a38d3f6275
1 changed files with 6 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue