[Patch] gprof: accept nested subprograms
Thu Jul 5 09:22:00 GMT 2007
> Updated version (thank you for pointing out typos)
> 2007-07-04 Tristan Gingold <firstname.lastname@example.org>
> * corefile.c (core_sym_class): Do not discard nested subprograms.
There were two more minor problems with this patch:
* You used <ctype.h> but it is better to use "safe-ctype.h" and
replace the call to isdigit with a call to ISDIGIT.
* You forgot to update Makefile.am to add a dependency for corefile.o
upon ctype.h (or safe-ctype.h).
I have taken care of these two problems and applied your patch along
with this ChangeLog entry.
2007-07-05 Tristan Gingold <email@example.com>
* corefile.c (core_sym_class): Do not discard nested subprograms.
* Makefile.am (corefile.o): Add dependency upon safe-ctype.h.
* Makefile.in: Regenerate.
More information about the Binutils