[patch/sim] Enable profiling by default

Andrew Cagney ac131313@cygnus.com
Tue May 23 21:39:00 GMT 2000


FYI,

I've committed the attatched, it enables the simulator profiling code by
default.  If someone doesn't want profiling support then it can be
compiled out using --disable-sim-profile.

	enjoy,
		Andrew
Tue May 23 21:35:53 2000  Andrew Cagney  <cagney@b1.cygnus.com>

	* aclocal.m4 (sim-profile): Enable the profiler by default.

Index: common/aclocal.m4
===================================================================
RCS file: /cvs/src/src/sim/common/aclocal.m4,v
retrieving revision 1.2
diff -p -r1.2 aclocal.m4
*** aclocal.m4	2000/03/30 20:49:27	1.2
--- aclocal.m4	2000/05/23 11:48:19
*************** AC_ARG_ENABLE(sim-profile,
*** 199,205 ****
  esac
  if test x"$silent" != x"yes" && test x"$sim_profile" != x""; then
    echo "Setting sim profile = $sim_profile" 6>&1
! fi],[sim_profile=""])dnl
  AC_SUBST(sim_profile)
  
  
--- 199,205 ----
  esac
  if test x"$silent" != x"yes" && test x"$sim_profile" != x""; then
    echo "Setting sim profile = $sim_profile" 6>&1
! fi],[sim_profile="-DPROFILE=1 -DWITH_PROFILE=-1"])dnl
  AC_SUBST(sim_profile)
  
  


More information about the Gdb-patches mailing list