diff options
Diffstat (limited to 'gprof')
-rw-r--r-- | gprof/ChangeLog | 5 | ||||
-rw-r--r-- | gprof/corefile.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog index c00e501..a0bbbd7 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,8 @@ +2009-09-05 Martin Thuresson <martin@mtme.org> + + * corefile.c (core_create_function_syms): Rename variable + class to cxxclass. + 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * Makefile.am (AM_CPPFLAGS): Renamed from ... diff --git a/gprof/corefile.c b/gprof/corefile.c index 9f1118a..5c6fe6b 100644 --- a/gprof/corefile.c +++ b/gprof/corefile.c @@ -562,7 +562,7 @@ core_create_function_syms (void) { bfd_vma min_vma = ~ (bfd_vma) 0; bfd_vma max_vma = 0; - int class; + int cxxclass; long i; struct function_map * found; @@ -598,9 +598,9 @@ core_create_function_syms (void) { asection *sym_sec; - class = core_sym_class (core_syms[i]); + cxxclass = core_sym_class (core_syms[i]); - if (!class) + if (!cxxclass) { DBG (AOUTDEBUG, printf ("[core_create_function_syms] rejecting: 0x%lx %s\n", @@ -670,7 +670,7 @@ core_create_function_syms (void) symtab.limit->is_func = (core_syms[i]->flags & BSF_FUNCTION) != 0; symtab.limit->is_bb_head = TRUE; - if (class == 't') + if (cxxclass == 't') symtab.limit->is_static = TRUE; /* Keep track of the minimum and maximum vma addresses used by all |