diff options
author | Jeff Law <law@redhat.com> | 1994-03-22 18:51:41 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1994-03-22 18:51:41 +0000 |
commit | 4b8250bda269ad61e3af496dcd49d67bd0aa7ef5 (patch) | |
tree | f8c8fd01f4a67557d2c6979ae70fbab282ad6f78 /gprof/gprof.c | |
parent | 4335ce642d96bf45cef3d78349a56f06b0e4877a (diff) | |
download | gdb-4b8250bda269ad61e3af496dcd49d67bd0aa7ef5.zip gdb-4b8250bda269ad61e3af496dcd49d67bd0aa7ef5.tar.gz gdb-4b8250bda269ad61e3af496dcd49d67bd0aa7ef5.tar.bz2 |
* gprof.c (funcsymbol): Use bfd_get_symbol_info instead of
bfd_decode_symclass.
Diffstat (limited to 'gprof/gprof.c')
-rw-r--r-- | gprof/gprof.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gprof/gprof.c b/gprof/gprof.c index 2e6d6d1..7cfeaf0 100644 --- a/gprof/gprof.c +++ b/gprof/gprof.c @@ -690,6 +690,7 @@ funcsymbol( symp ) CONST char *name; int i; char symprefix; + symbol_info syminfo; /* * must be a text symbol, @@ -707,8 +708,10 @@ funcsymbol( symp ) return FALSE; } + symprefix = bfd_get_symbol_leading_char (abfd); - i = bfd_decode_symclass (symp); + bfd_get_symbol_info (abfd, symp, &syminfo); + i = syminfo.type; #if defined(DEBUG) && 0 if (i != 'T' && i != 't') fprintf (stderr, "%s(%d): %s is of class %c\n", __FILE__, __LINE__, symp->name, i); |