]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdw/
authorRoland McGrath <roland@redhat.com>
Sat, 27 Aug 2005 10:33:26 +0000 (10:33 +0000)
committerRoland McGrath <roland@redhat.com>
Sat, 27 Aug 2005 10:33:26 +0000 (10:33 +0000)
commit71e15a01742e5d5de9c6260d4526146be54e5a8a
tree2796d8ea1fa5580b4e381881314fdad12904635f
parent995f92d7d696930e2cbf08427d028d948e8c5180
libdw/
2005-08-27  Roland McGrath  <roland@redhat.com>

* dwarf_getscopes.c (dwarf_getscopes): Rewritten using
__libdw_visit_scopes.

* dwarf_getscopes_die.c: New file.
* Makefile.am (libdw_a_SOURCES): Add it.
* libdw.h: Declare dwarf_getscopes_die.
* libdw.map: Bump to 0.115 and add it.

* libdw_visit_scopes.c (__libdw_visit_scopes): Pass a struct
containing a DIE and its parent pointer, instead of just Dwarf_Die.
Take two functions for both preorder and postorder visitors.
* libdwP.h: Update decl.
(struct Dwarf_Die_Chain): New type.
* dwarf_func_inline.c: Update uses.

* dwarf_diename.c (dwarf_diename): Use dwarf_attr_integrate.
Add INTDEF.
* libdwP.h: Add INTDECL.
* dwarf_func_name.c (dwarf_func_name): Use dwarf_diename.

src/
2005-08-27  Roland McGrath  <roland@redhat.com>

* addr2line.c (dwarf_diename_integrate): Function removed.
(print_dwarf_function): Use plain dwarf_diename.

tests/
2005-08-27  Roland McGrath  <roland@redhat.com>

* run-funcscopes.sh: New file.
* testfile25.bz2: New data file.
* Makefile.am (TESTS, EXTRA_DIST): Add them.

2005-08-26  Roland McGrath  <roland@redhat.com>

* addrscopes.c (dwarf_diename_integrate): Removed.
(print_vars, handle_address): Use plain dwarf_diename.

2005-08-25  Roland McGrath  <roland@redhat.com>

* funcscopes.c: New file.
* Makefile.am (noinst_PROGRAMS): Add it.
(funcscopes_LDADD): New variable.

* run-addrscopes.sh: Add another case.
* testfile24.bz2: New data file.
* Makefile.am (EXTRA_DIST): Add it.

* addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
pass it to dwarf_getscopes.
(main): Pass it, true when '=' follows an address.
21 files changed:
libdw/ChangeLog
libdw/Makefile.am
libdw/dwarf_diename.c
libdw/dwarf_func_inline.c
libdw/dwarf_func_name.c
libdw/dwarf_getscopes.c
libdw/dwarf_getscopes_die.c [new file with mode: 0644]
libdw/libdw.h
libdw/libdw.map
libdw/libdwP.h
libdw/libdw_visit_scopes.c
src/ChangeLog
src/addr2line.c
tests/ChangeLog
tests/Makefile.am
tests/addrscopes.c
tests/funcscopes.c [new file with mode: 0644]
tests/run-addrscopes.sh
tests/run-funcscopes.sh [new file with mode: 0644]
tests/testfile24.bz2 [new file with mode: 0644]
tests/testfile25.bz2 [new file with mode: 0644]