mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-26 09:07:38 +01:00
Handle error return from is_signal_frame
This commit is contained in:
parent
e9cd30040e
commit
e51429280b
1 changed files with 4 additions and 0 deletions
|
@ -67,6 +67,10 @@ unw_step (unw_cursor_t *cursor)
|
|||
Debug (13, "dwarf_step() failed (ret=%d), trying frame-chain\n", ret);
|
||||
|
||||
format = unw_is_signal_frame (cursor);
|
||||
if (format < 0) {
|
||||
Debug (13, "unw_is_signal_frame() failed (ret=%d)\n", ret);
|
||||
return format;
|
||||
}
|
||||
if (format != X86_SCF_NONE)
|
||||
{
|
||||
#if defined __linux__
|
||||
|
|
Loading…
Reference in a new issue