1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-01 10:47:38 +01:00

Revert "x86_64: unbreak test-ptrace"

This reverts commit c9c5a40be1.
dwarf_get() returns 0 on success. We should continue unwinding
in that case.

TBD: investigate test-ptrace failure on some platforms.
This commit is contained in:
Arun Sharma 2012-05-18 15:24:02 -07:00
parent c9c5a40be1
commit dd297ea92e

View file

@ -209,6 +209,7 @@ unw_step (unw_cursor_t *cursor)
Debug (2, "returning %d\n", ret); Debug (2, "returning %d\n", ret);
return ret; return ret;
} }
ret = 1;
} }
else else
c->dwarf.ip = 0; c->dwarf.ip = 0;