This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: profiling on sh


----- Original Message -----
From: "Alexandre Oliva" <aoliva@redhat.com>
To: "Kris Warkentin" <kewarken@qnx.com>
Cc: <gcc@gcc.gnu.org>
Sent: Thursday, March 14, 2002 11:46 PM
Subject: Re: profiling on sh


> On Mar 14, 2002, "Kris Warkentin" <kewarken@qnx.com> wrote:
>
> > I'm looking at the FUNCTION_PROFILER macro in gcc/config/sh/sh.h and
> > all it seems to be doing is 'trapa #33' and then printing a label.
>
> Presumably, this is for some embedded SH environment.  You failed to
> specify which OS you're using, so it's hard to hazard guesses as to
> how to solve whatever problem you're running into.

Ah... QNX is the OS.  We have all the support in our libc and startup for
profiling using the standard gprof stuff.  It works on all of our targets
(mips, ppc, i386, arm) except for sh.

cheers,

Kris
>
> --
> Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist                Professional serial bug killer
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]