This is the mail archive of the frysk@sources.redhat.com mailing list for the frysk project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi Andrew, please check the mail to <libunwind-devel@nongnu.org>. I would like to suggest some frysk's libunwind changes merge upstream... ------------------------------------------------------------------------------ Hi, as there were various issues of resolving address->name by libunwind src/elfxx.c I replaced it with the resolver from the package "elfutils". The former src/elfxx.c updates are still available and ChangeLog described at: cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/frysk co libunwind Attached patch has been ported to the current GIT version of libunwind. As elfutils does not support .eh_frame (unwinding) only the .symtab/.dynsym based resolving - get_proc_name() - is supported. dwarf_search_unwind_table() now also uses elfutils but only to verify the libunwind's function range found in .eh_frame. This part could be removed resulting in an implementation only based on unw_accessors_t pointers change. elfutils is available at: ftp://sourceware.org/pub/systemtap/elfutils/elfutils-0.125.tar.gz (tested on 0.126) http://download.fedora.redhat.com/pub/fedora/linux/core/development/source/SRPMS/elfutils-0.126-1.fc7.src.rpm Recommended pending elfutils patch: https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=149158 TODO: * ia64 fix (split dwarf_get_proc_name() from dwarf_search_unwind_table()). * Probably fix the UNW_LOCAL_ONLY mode where there is no way to store the current `unw_addr_space.dwfl'. * Profile the performance. * API to pass existing `Dwfl *' from the application (==debugger) down to libunwind for reusal by elfutils (currently new `Dwfl *' is created). Regards, Jan
Attachment:
libunwind-using-elfutils-5upstream.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |