Skip to content

Commit 2543c33

Browse files
committed
unwind: fix unwinding of VDSO frames on i386
May or may not be elfutils bug: https://bugzilla.redhat.com/show_bug.cgi?id=1129756 Fixes #163. Signed-off-by: Martin Milata <[email protected]>
1 parent 03ec7f8 commit 2543c33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/core_unwind.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ find_elf_core (Dwfl_Module *mod, void **userdata, const char *modname,
110110
return -1;
111111

112112
*file_name = realpath(executable_file, NULL);
113-
*elfp = elf_begin(fd, ELF_C_READ, NULL);
113+
*elfp = elf_begin(fd, ELF_C_READ_MMAP, NULL);
114114
if (*elfp == NULL)
115115
{
116116
warn("Unable to open executable '%s': %s", executable_file,

0 commit comments

Comments
 (0)