diff options
author | Ole André Vadla Ravnås <oleavr@gmail.com> | 2020-11-12 04:25:58 +0100 |
---|---|---|
committer | Dave Watson <dade.watson@gmail.com> | 2020-12-03 07:22:38 -0800 |
commit | 3f7ab0b7ca447e5038fd2050c0c660f88125e7b0 (patch) | |
tree | cb9d840605ad5c5652e11b0491cb62e5c812c134 /src/coredump | |
parent | cee5505a99d42a423059a1add8b87b75aeb45daa (diff) | |
download | libunwind-3f7ab0b7ca447e5038fd2050c0c660f88125e7b0.tar.gz |
Add support for older versions of Android
Based on:
- dl_iterate_phdr() patch by Jeff Muizelaar.
- maps_next() improvement from AOSP: 7d46a21.
- unwi_unwind_method and x86_local_resume() from AOSP: 1c82a52.
Diffstat (limited to 'src/coredump')
-rw-r--r-- | src/coredump/_UPT_get_dyn_info_list_addr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coredump/_UPT_get_dyn_info_list_addr.c b/src/coredump/_UPT_get_dyn_info_list_addr.c index dcc6f8ea..c411cccc 100644 --- a/src/coredump/_UPT_get_dyn_info_list_addr.c +++ b/src/coredump/_UPT_get_dyn_info_list_addr.c @@ -43,7 +43,7 @@ get_list_addr (unw_addr_space_t as, unw_word_t *dil_addr, void *arg, int count = 0; maps_init (&mi, ui->pid); - while (maps_next (&mi, &lo, &hi, &off)) + while (maps_next (&mi, &lo, &hi, &off, NULL)) { if (off) continue; |