diff options
author | Alan Modra <amodra@gmail.com> | 2007-04-19 10:46:56 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-04-19 10:46:56 +0000 |
commit | 8db406db3cc6d3458f34df478aab371896401d5e (patch) | |
tree | 32222877bc8555bcec82b512d7ce2672b7795c05 /gprof/corefile.c | |
parent | 73705ac309d244b61d3b372d61e867c05d8ea2a8 (diff) | |
download | binutils-gdb-8db406db3cc6d3458f34df478aab371896401d5e.tar.gz |
* corefile.c (core_create_function_syms, core_create_line_syms): Don't
set discard_underscores.
* gprof.c (discard_underscores): Delete.
* gprof.h (discard_underscores): Delete.
* sym_ids.c (match): Use bfd_get_symbol_leading_char to check for
leading underscores.
* utils.c (print_name_only): Call bfd_demangle rather than
cplus_demangle.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
Diffstat (limited to 'gprof/corefile.c')
-rw-r--r-- | gprof/corefile.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gprof/corefile.c b/gprof/corefile.c index 7ad18f13f52..a078d61c893 100644 --- a/gprof/corefile.c +++ b/gprof/corefile.c @@ -581,12 +581,6 @@ core_create_function_syms () else max_vma = MAX (symtab.limit->addr, max_vma); - /* If we see "main" without an initial '_', we assume names - are *not* prefixed by '_'. */ - if (symtab.limit->name[0] == 'm' && discard_underscores - && strcmp (symtab.limit->name, "main") == 0) - discard_underscores = 0; - DBG (AOUTDEBUG, printf ("[core_create_function_syms] %ld %s 0x%lx\n", (long) (symtab.limit - symtab.base), symtab.limit->name, @@ -746,12 +740,6 @@ core_create_line_syms () prev = ltab.limit; - /* If we see "main" without an initial '_', we assume names - are *not* prefixed by '_'. */ - if (ltab.limit->name[0] == 'm' && discard_underscores - && strcmp (ltab.limit->name, "main") == 0) - discard_underscores = 0; - DBG (AOUTDEBUG, printf ("[core_create_line_syms] %lu %s 0x%lx\n", (unsigned long) (ltab.limit - ltab.base), ltab.limit->name, |