From 9ad458d5397ffccd419cdd4a00dd816a500ab018 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Thu, 17 Jan 2019 00:07:43 +0000 Subject: [libbacktrace] Add altlink field to struct dwarf_data Add an altlink field to struct dwarf_data, and initialize it with the pointer to the struct dwarf_data for the .gnu_debugaltlink. 2019-01-17 Tom de Vries * dwarf.c (struct dwarf_data): Add altlink field. (backtrace_dwarf_add): Add and handle fileline_altlink parameter. * elf.c (elf_add): Add argument to backtrace_dwarf_add call. (phdr_callback, backtrace_initialize): Add argument to elf_add calls. * internal.h (backtrace_dwarf_add): Add fileline_altlink parameter. * pecoff.c (coff_add): Add argument to backtrace_dwarf_add call. * xcoff.c (xcoff_add): Same. From-SVN: r267994 --- libbacktrace/pecoff.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libbacktrace/pecoff.c') diff --git a/libbacktrace/pecoff.c b/libbacktrace/pecoff.c index cd20cbe..da1982f 100644 --- a/libbacktrace/pecoff.c +++ b/libbacktrace/pecoff.c @@ -867,6 +867,7 @@ coff_add (struct backtrace_state *state, int descriptor, sections[DEBUG_STR].data, sections[DEBUG_STR].size, 0, /* FIXME */ + NULL, error_callback, data, fileline_fn, NULL)) goto fail; -- cgit v1.1