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

@ -8,6 +8,7 @@ ElfParser *elf_parser_new (const guchar *data,
ElfParser *elf_parser_new_from_file (const char *filename,
GError **err);
void elf_parser_free (ElfParser *parser);
const char *elf_parser_get_debug_link (ElfParser *parser, guint32 *crc32);
/* Lookup a symbol in the file.
*