On Sun, 2013-11-10 at 21:21 +0100, Jan Kratochvil wrote:
libdwfl/
2013-11-10 Jan Kratochvil <jan.kratochvil(a)redhat.com>
Fix dwfl_attach_state machine->elf.
* dwfl_frame.c (dwfl_attach_state): Change parameter machine to elf.
Call ebl_openbackend instead of ebl_openbackend_machine.
* libdwfl.h (dwfl_attach_state): Change parameter machine to elf.
Update the function description.
* linux-core-attach.c (__libdwfl_attach_state_for_core): Pass CORE to
dwfl_attach_state.
* linux-pid-attach.c (__libdwfl_attach_state_for_pid): Pass NULL to
dwfl_attach_state.
Yes, this makes sense to me. The elf is more "natural" to pass around
than the more abstract e_machine. Looks good.
Thanks,
Mark