1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-07-02 13:41:46 +02: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:
MyungJoo Ham 2016-03-28 12:20:56 +00:00 committed by Dave Watson
parent 74d7cd9898
commit 022bb326a2

View file

@ -268,5 +268,5 @@ unw_step (unw_cursor_t *cursor)
} }
} }
} }
return ret == -UNW_ENOINFO ? 0 : 1; return ret == -UNW_ENOINFO ? 0 : ret;
} }