mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-25 12:33:42 +01:00
Minor reformatting.
(Logical change 1.151)
This commit is contained in:
parent
1656663941
commit
972a85f7fd
1 changed files with 8 additions and 9 deletions
|
@ -37,18 +37,17 @@ HIDDEN void
|
||||||
mi_init (void)
|
mi_init (void)
|
||||||
{
|
{
|
||||||
extern void unw_cursor_t_is_too_small (void);
|
extern void unw_cursor_t_is_too_small (void);
|
||||||
|
|
||||||
#if UNW_DEBUG
|
#if UNW_DEBUG
|
||||||
const char *str = getenv ("UNW_DEBUG_LEVEL");
|
const char *str = getenv ("UNW_DEBUG_LEVEL");
|
||||||
|
|
||||||
if (str)
|
if (str)
|
||||||
tdep_debug_level = atoi (str);
|
tdep_debug_level = atoi (str);
|
||||||
|
|
||||||
if (tdep_debug_level > 0)
|
if (tdep_debug_level > 0)
|
||||||
{
|
{
|
||||||
setbuf (stdout, NULL);
|
setbuf (stdout, NULL);
|
||||||
setbuf (stderr, NULL);
|
setbuf (stderr, NULL);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (sizeof (struct cursor) > sizeof (unw_cursor_t))
|
if (sizeof (struct cursor) > sizeof (unw_cursor_t))
|
||||||
|
|
Loading…
Reference in a new issue