* budemang.c: Delete.

* budemang.h: Delete.
	* addr2line.c (translate_addresses): Call bfd_demangle rather than
	demangle.
	* nm.c (print_symname): Likewise.
	* objdump.c (objdump_print_symname, dump_symbols): Likewise.
	(dump_bfd): Likewise.
	* prdbg.c (struct pr_handle <demangler>): Add int param.
	(tg_variable, tg_start_function): Adjust demangler calls.
	* Makefile.am: Remove mention of budemang.[ch].  Run "make dep-am".
	* Makefile.in: Regenerate.
	* po/POTFILES.in: Regenerate.
This commit is contained in:
Alan Modra
2007-04-19 10:43:47 +00:00
parent 01e7679297
commit ed180cc5db
8 changed files with 304 additions and 275 deletions

View File

@@ -37,7 +37,6 @@
#include "libiberty.h"
#include "demangle.h"
#include "bucomm.h"
#include "budemang.h"
static bfd_boolean unwind_inlines; /* -i, unwind inlined functions. */
static bfd_boolean with_functions; /* -f, show function names. */
@@ -224,8 +223,9 @@ translate_addresses (bfd *abfd, asection *section)
name = "??";
else if (do_demangle)
{
alloc = demangle (abfd, name);
name = alloc;
alloc = bfd_demangle (abfd, name, DMGL_ANSI | DMGL_PARAMS);
if (alloc != NULL)
name = alloc;
}
printf ("%s\n", name);