newlib and gmon

Joel Sherrill
Thu Aug 30 12:18:00 GMT 2001

"J. Johnston" wrote:
> "Aaron J. Grier" wrote:
> >
> > I'm trying to get profiling working on my 68k cross-compiled target.
> > for other systems I've looked at, mcount and other profiling routines
> > are part of libc.  should I be looking at adding profiling libraries to
> > newlib, or adding them elsewhere?
> >
> mcount support would be useful in newlib.  Feel free to contribute a
> patch (non-proprietary, non-GPL).  Are you thinking of using the BSD
> code?

Jeff.. I am curious if any of the gdb simulators gather information
of this sort without modifying target code.  We have had questions
on the RTEMS list about using gcov and gprof this way as well.
I just don't know myself either.

> -- Jeff J.

Joel Sherrill, Ph.D.             Director of Research & Development                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985

More information about the Newlib mailing list