1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-16 13:18:12 +01:00

Handle error return from is_signal_frame

This commit is contained in:
Konstantin Belousov 2010-03-13 20:31:12 +02:00
parent e9cd30040e
commit e51429280b

View file

@ -67,6 +67,10 @@ unw_step (unw_cursor_t *cursor)
Debug (13, "dwarf_step() failed (ret=%d), trying frame-chain\n", ret); Debug (13, "dwarf_step() failed (ret=%d), trying frame-chain\n", ret);
format = unw_is_signal_frame (cursor); 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 (format != X86_SCF_NONE)
{ {
#if defined __linux__ #if defined __linux__