libdwfl: dwfl_linux_proc_find_elf use elf_from_remote_memory for (deleted).
authorMark Wielaard <mjw@redhat.com>
Tue, 4 Mar 2014 10:27:15 +0000 (11:27 +0100)
committerMark Wielaard <mjw@redhat.com>
Mon, 10 Mar 2014 20:29:00 +0000 (21:29 +0100)
commit4b9e1433d2272f5f68b3227abdd9cf6817a0afd3
treee783d86e9a1c097adf1aef6d2157034f2b0c3476
parentf15bcda4137446d4773bb54cb99cc18497e9822c
libdwfl: dwfl_linux_proc_find_elf use elf_from_remote_memory for (deleted).

If a module has a "(deleted)" main ELF file, then try to read it from
remote memory if the Dwfl has process state attached by reusing the ptrace
mechanism from linux-pid-attach.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
libdwfl/ChangeLog
libdwfl/dwfl_frame.c
libdwfl/libdwflP.h
libdwfl/linux-pid-attach.c
libdwfl/linux-proc-maps.c