[PATCH 7/9] unwind: add libdw as a unwinder
Mark Wielaard
mark at klomp.org
Sat Mar 17 00:53:05 UTC 2018
On Thu, Mar 15, 2018 at 08:28:05PM +0300, Dmitry V. Levin wrote:
> > +#include <elfutils/libdwfl.h>
> > +
> > +static void *
> > +tcb_init(struct tcb *tcp)
> > +{
> > + int r;
> > + const char *msg = NULL;
> > + static const Dwfl_Callbacks proc_callbacks = {
> > + .find_elf = dwfl_linux_proc_find_elf,
> > + .find_debuginfo = dwfl_standard_find_debuginfo
>
> Are we going to print debuginfo based information?
Yes, the dwfl_module_addrinfo () call used to get the symname
can use the symtab from the debug file to give better symbol names.
Cheers,
Mark
More information about the Strace-devel
mailing list