mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-01-26 18:20:29 +01:00
arm: Return code correction for unw_step()
Let's not drop error code or zero-return unconditionally. This has been incurring occasional indefinite loop in dotnet core when it already had hit the bottom by continously returning 1 from unw_step(); Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
This commit is contained in:
parent
74d7cd9898
commit
022bb326a2
1 changed files with 1 additions and 1 deletions
|
@ -268,5 +268,5 @@ unw_step (unw_cursor_t *cursor)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ret == -UNW_ENOINFO ? 0 : 1;
|
return ret == -UNW_ENOINFO ? 0 : ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue