mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-25 00:27:39 +01:00
x86_64: unbreak test-ptrace
If dwarf_get returns 0 (indicating the end of call chain), we should not override the return value to 1. This may result in the caller continuing to unwind and getting spurious errors.
This commit is contained in:
parent
1a6ea3da60
commit
c9c5a40be1
1 changed files with 0 additions and 1 deletions
|
@ -209,7 +209,6 @@ unw_step (unw_cursor_t *cursor)
|
|||
Debug (2, "returning %d\n", ret);
|
||||
return ret;
|
||||
}
|
||||
ret = 1;
|
||||
}
|
||||
else
|
||||
c->dwarf.ip = 0;
|
||||
|
|
Loading…
Reference in a new issue