elfutils:jankratochvil/ppc64bidir-unwindppc

Last commit made on 2013-12-03
Get this branch:
git clone -b jankratochvil/ppc64bidir-unwindppc https://git.launchpad.net/elfutils

Branch merges

Branch information

Name:
jankratochvil/ppc64bidir-unwindppc
Repository:
lp:elfutils

Recent commits

4516ce4... by Jan Kratochvil

unwinder: ppc and ppc64

backends/
2013-11-10 Jan Kratochvil <email address hidden>

 unwinder: ppc and ppc64
 * Makefile.am (ppc_SRCS, ppc64_SRCS): Add ppc_initreg.c.
 * ppc64_init.c (ppc64_init): Initialize also frame_nregs,
 set_initial_registers_tid and dwarf_to_regno.
 * ppc_corenote.c (PRSTATUS_REGSET_ITEMS) <nip>: Set PC_REGISTER.
 * ppc_init.c (ppc64_init): Initialize also frame_nregs,
 set_initial_registers_tid and dwarf_to_regno.
 * ppc_initreg.c: New file.

libdwfl/
2013-11-10 Jan Kratochvil <email address hidden>

 unwinder: ppc and ppc64
 * frame_unwind.c (__libdwfl_frame_reg_get, __libdwfl_frame_reg_set):
 Call ebl_dwarf_to_regno.
 * linux-core-attach.c (core_set_initial_registers): Implement
 pc_register support.
 * linux-pid-attach.c (pid_thread_state_registers_cb): Implement
 FIRSTREG -1.

libebl/
2013-11-10 Jan Kratochvil <email address hidden>

 unwinder: ppc and ppc64
 * Makefile.am (gen_SOURCES): Add ebldwarftoregno.c.
 * ebl-hooks.h (dwarf_to_regno): New.
 * ebldwarftoregno.c: New file.
 * libebl.h (Ebl_Core_Item): New field pc_register.
 (ebl_tid_registers_t): Add FIRSTREG -1 to the comment.
 (ebl_dwarf_to_regno): New.

tests/
2013-11-10 Jan Kratochvil <email address hidden>

 * Makefile.am (TESTS): Add run-backtrace-core-ppc64.sh and
 run-backtrace-core-ppc.sh.
 (EXTRA_DIST): Add backtrace.ppc.core.bz2,
 backtrace.ppc.exec.bz2, backtrace.ppc64.core.bz2,
 backtrace.ppc64.exec.bz2, run-backtrace-core-ppc64.sh and
 run-backtrace-core-ppc.sh.
 * backtrace.ppc.core.bz2: New file.
 * backtrace.ppc.exec.bz2: New file.
 * backtrace.ppc64.core.bz2: New file.
 * backtrace.ppc64.exec.bz2: New file.
 * run-backtrace-core-ppc.sh: New file.
 * run-backtrace-core-ppc64.sh: New file.

Signed-off-by: Jan Kratochvil <email address hidden>

47f231a... by Jan Kratochvil

Provide virtual symbols for ppc64 function descriptors

backends/
2013-11-30 Jan Kratochvil <email address hidden>

 Provide virtual symbols for ppc64 function descriptors.
 * Makefile.am (ppc64_SRCS): Add ppc64_get_symbol.c.
 * ppc64_get_symbol.c: New file.
 * ppc64_init.c (ppc64_init): Install init_symbols, get_symbol and
 destr.

libdwfl/
2013-11-30 Jan Kratochvil <email address hidden>

 * dwfl_module_addrsym.c (dwfl_module_addrsym): Adjust FIRST_GLOBAL also
 for EBL_FIRST_GLOBAL.
 * dwfl_module_getdwarf.c (getsym_helper): New function.
 (find_symtab): Call also ebl_init_symbols.
 (dwfl_module_getsymtab): Count also EBL_SYMENTS.
 * dwfl_module_getsym.c (dwfl_module_getsym_elf): Count also
 EBL_FIRST_GLOBAL, EBL_SYMENTS. Call also ebl_get_symbol.
 * libdwflP.h (DWFL_ERRORS): Add INVALID_INDEX.
 (struct Dwfl_Module): Add fields ebl_syments and ebl_first_global.

libebl/
2013-11-30 Jan Kratochvil <email address hidden>

 Provide virtual symbols for ppc64 function descriptors.
 * Makefile.am (gen_SOURCES): Add eblgetsymbol.c.
 * ebl-hooks.h (init_symbols, get_symbol): New.
 * eblgetsymbol.c: New file.
 * libebl.h (ebl_getsym_t): New definition.
 (ebl_init_symbols, ebl_get_symbol): New declarations.
 * libeblP.h (struct ebl): New field backend.

tests/
2013-11-30 Jan Kratochvil <email address hidden>

 Provide virtual symbols for ppc64 function descriptors.
 * Makefile.am (EXTRA_DIST): Add testfile66.bz2 and testfile66.core.bz2.
 * dwflsyms.c (list_syms): Remove unused from parameter mod_name. Print
 error on dwfl_module_getsymtab error.
 * run-addrname-test.sh (testfile66, testfile66.core): New tests.
 * run-dwflsyms.sh (testfile66, testfile66.core, hello_ppc64.ko): New
 tests.
 * testfile66.bz2: New file.
 * testfile66.core.bz2: New file.

Signed-off-by: Jan Kratochvil <email address hidden>

8ae9bc9... by Jan Kratochvil

Tests for unwinder of x86*.

Signed-off-by: Jan Kratochvil <email address hidden>

5ef96c9... by Jan Kratochvil

Introduce process_attach_error.

Signed-off-by: Jan Kratochvil <email address hidden>

819c349... by Mark J. Wielaard

libdwfl: Add dwfl_module_addrsym_elf and dwfl_module_getsym_elf.

Introduce two new functions that also return the elf associated with a
symbol to make symbol section indexing work for non-special sections.
Simplify code by removing dwfl_file where appropriate and just track Elf
directly. Document limitations of shndx with existing dwfl_module_addrsym
and dwfl_module_getsym. Extend dwflsyms testcase to check some more symbol
and section (index) properties.

Signed-off-by: Mark Wielaard <email address hidden>

16bc456... by Mark J. Wielaard

Mark new dwfl functions with version ELFUTILS_0.158.

It took two versions to get the new thread state and unwind dwfl functions
in. Make sure they carry the latest elfutils symbol version in which they
were actually added.

Signed-off-by: Mark Wielaard <email address hidden>

0d5a867... by Mark J. Wielaard

tests: Makefile.am (EXTRA_DIST): Add run-funcretval.sh.

Signed-off-by: Mark Wielaard <email address hidden>

98c8a73... by Petr Machata

Support AArch64 architecture

Signed-off-by: Petr Machata <email address hidden>

a47a096... by Petr Machata

Support new 'h' core note item format for hidden fields

Signed-off-by: Petr Machata <email address hidden>

99a2949... by Jan Kratochvil

Fix non-build-id core files on build-id system

Signed-off-by: Jan Kratochvil <email address hidden>