Pass map->bin_file to bin_symbol_get_name.

2006-08-21  Soren Sandmann <sandmann@redhat.com>

	* process.c (process_lookup_symbol): Pass map->bin_file to
	bin_symbol_get_name.

	* binfile.h (bin_symbol_get_name): Add BinFile parameter

	* elfparser.c (elf_demangle): Use options DMGL_PARAMS | DMGL_ANSI

	* TODO: Updates

	* binfile.c: Rewrite this file to use ElfParser instead of libbfd.

	* configure.ac: Drop dependencies on libbfd and libiberty.
This commit is contained in:
Soren Sandmann
2006-08-21 06:00:57 +00:00
committed by Søren Sandmann Pedersen
parent ad09fd10cb
commit a1bddd8d9f
9 changed files with 162 additions and 507 deletions

View File

@ -93,19 +93,6 @@ PKG_CHECK_MODULES(GUI_DEP, $gui_dep, [], build_gui=no)
AM_CONDITIONAL([BUILD_GUI], [test "$build_gui" = yes])
# libiberty and libbfd
AC_CHECK_LIB(iberty, cplus_demangle,:,
AC_CHECK_LIB(iberty, cplus_demangle_opname, [],
AC_MSG_ERROR([libiberty is required to compile sysprof]), -ldl))
AC_CHECK_LIB(bfd, bfd_get_error,,
AC_MSG_ERROR([libbfd is required to compile sysprof]),
-liberty)
CORE_DEP_LIBS="$CORE_DEP_LIBS -lbfd -liberty"
GUI_DEP_LIBS="$GUI_DEP_LIBS -lbfd -liberty"
# emit files
AC_SUBST(CORE_DEP_LIBS)