Skip to content
Snippets Groups Projects
  1. Aug 02, 2007
  2. Mar 20, 2007
  3. Oct 02, 2006
    • rtoy's avatar
      code/ntrace.lisp: · b2391606
      rtoy authored
      o Add a new :WHEREIN-ONLY option for trace, which is like :WHEREIN,
        but only if the immediate caller is one of the listed functions
        instead of anywhere in the backtrace.
      
      general-info/release-19d.txt:
      o Update for :WHEREIN-ONLY
      b2391606
  4. Feb 20, 2006
  5. Jan 27, 2006
  6. Jan 23, 2006
    • rtoy's avatar
      Implement tracing of flet/labels functions. This probably needs more · 45d04c07
      rtoy authored
      work and could probably be implemented better.
      
      With these changes (trace (labels foo bar)) will trace the labels
      function FOO in the function BAR.  We only support encapsulate nil,
      here.  No check is made for this.
      
      code/ntrace.lisp:
      o In TRACE-FDEFINITION, recognize a list as a valid function, and
        return the list as the value of TRACE-FDEFINITION.  This seems
        wrong, but I'm not sure if there's a real fdefinition for it, or if
        we could create a fake one.
      
      code/debug-int.lisp:
      o In FUNCTION-DEBUG-FUNCTION, recognize a list as the name of a
        function, and find the corresponding compiled-debug-function and
        create and return the new compiled-debug-function.
      45d04c07
  7. Dec 17, 2005
  8. Oct 07, 2005
  9. Feb 25, 2005
  10. Feb 22, 2005
  11. Jul 21, 2003
    • gerd's avatar
      * src/code/ntrace.lisp (trace-1): Encapsulate if · ed92e5cc
      gerd authored
      	can-set-function-end-breakpoint-p returns false.
      
      	* src/code/debug-int.lisp (can-set-function-end-breakpoint-p):
      	Return true of compiled-debug-function-returns is :standard.
      ed92e5cc
  12. Jun 18, 2003
    • gerd's avatar
      Remove package nicknames USER from COMMON-LISP-USER. Add a new · b4f2c7c7
      gerd authored
      	package COMMON-LISP which LISP uses, so that COMMON-LISP no longer
      	has the non-ANSI nickname LISP.
      
      	To bootstrap, use boot13.lisp as target:bootstrap.lisp with pmai's
      	build scripts, and do a full compile.
      
      	* src/bootfiles/18e/boot13.lisp: Change for all the package
      	changes.
      
      	* src/code/exports.lisp: New package common-lisp,
      	which lisp uses.
      
      	* src/tools/worldload.lisp:
      	* src/tools/setup.lisp: Use cl-user instead of user.
      	Use lisp:: instead of cl::.
      
      	* src/tools/worldcom.lisp:
      	* src/tools/snapshot-update.lisp:
      	* src/tools/pclcom.lisp:
      	* src/tools/mk-lisp:
      	* src/tools/hemcom.lisp:
      	* src/tools/config.lisp:
      	* src/tools/comcom.lisp:
      	* src/tools/clxcom.lisp:
      	* src/tools/clmcom.lisp:
      	* src/pcl/defsys.lisp:
      	* src/motif/lisp/initial.lisp:
      	* src/interface/initial.lisp:
      	* src/hemlock/lispmode.lisp (setup-lisp-mode):
      	Use cl-user instead of user.
      
      	* src/code/save.lisp (assert-user-package):
      	* src/code/print.lisp (%with-standard-io-syntax): Find
      	cl-user package instead of user.
      
      	* src/code/package.lisp (package-locks-init): Add lisp.
      	(package-init): Don't add user nickname to cl-user.
      
      	* src/code/ntrace.lisp (*trace-encapsulate-package-names*):
      	Add common-lisp.
      
      	* src/code/hash.lisp (toplevel):
      	* src/code/hash-new.lisp (toplevel): Use in-package :lisp
      	instead of :common-lisp.
      
      	* src/code/float-trap.lisp (sigfpe-handler): Don't
      	qualify floating-point-inexact with ext:.
      
      	* src/pcl/simple-streams/strategy.lisp (sc):
      	* src/pcl/simple-streams/null.lisp (null-read-char):
      	* src/pcl/simple-streams/internal.lisp (allocate-buffer)
      	(free-buffer):
      	* src/pcl/simple-streams/impl.lisp (%check, %read-line)
      	(%peek-char, %read-byte):
      	* src/pcl/simple-streams/file.lisp (open-file-stream)
      	(device-close):
      	* src/pcl/simple-streams/classes.lisp (simple-stream)
      	(device-close):
      	* src/pcl/macros.lisp (toplevel):
      	* src/pcl/braid.lisp (lisp::sxhash-instance):
      	* src/pcl/env.lisp (toplevel):
      	* src/compiler/generic/objdef.lisp (symbol-hash):
      	* src/code/stream.lisp (read-sequence, write-sequence):
      	* src/code/macros.lisp (defmacro, deftype):
      	* src/code/eval.lisp (interpreted-function):
      	* src/code/defstruct.lisp (defstruct):
      	* src/code/debug.lisp (debug-eval-print): Use lisp:: instead
      	of cl::.
      b4f2c7c7
  13. Jun 12, 2003
  14. May 23, 2003
    • gerd's avatar
      Add fwrappers. Rewrite TRACE and PROFILE to use fwrappers. · e9211546
      gerd authored
      	To bootstrap, use boot12.lisp with pmai's scripts.
      
      	* src/bootfiles/18e/boot12.lisp: New file.
      
      	* src/tools/worldload.lisp, src/tools/worldcom.lisp:
      	* src/tools/worldbuild.lisp: Add code:fwrappers.
      
      	* src/docs/cmu-user/extensions.tex (Function Wrappers):
      	New section.
      
      	* src/code/fwrappers.lisp: New file.
      
      	* src-fw/pcl/defs.lisp (gdefinition): Don't check for profiled
      	functions.
      
      	* src-fw/code/exports.lisp: Add walker and fwrappers.
      
      	* src-fw/code/fdefinition.lisp (fdefn-init): Set
      	*valid-function-names* to nil.
      	(encapsulation): Structure removed.
      	(do-encapsulations, encapsulation, last-encapsulation)
      	(push-encapsulation, encapsulate, unencapsulate, encapsulated-p):
      	Removed.  There is a compatibility layer in fwrappers.lisp.
      	(fdefinition, %set-fdefinition): Rewritten.
      
      	* src/code/profile.lisp: Remove #+cmu and #-cmu.
      	("PROFILE"): Use fwrappers.
      	(*profile-info*): Removed.
      	(profile-info): Redefined.
      	(*existing-encapsulations*): Removed.
      	(reset-profile-info, profile-info-profiling-values): New functions.
      	(make-profile-encapsulation): Removed.
      	(profile): New function name syntax.
      	(make-profile-fwrapper-name, make-profile-fwrapper): New functions.
      	(def-profile-fwrapper): Precompute some fwrappers.
      	(ensure-profile-fwrapper, find-profile-fwrapper, pi-or-lose):
      	New functions.
      	(profile-1-function): Rewritten.
      	(unprofile-1-function): Ditto.
      	(re-profile-redefined-function): New function.
      	(toplevel): Push it on *setf-fdefinition-hook*.
      
      	* src/code/ntrace.lisp (trace-call): Removed.
      	(trace-fwrapper): New fwrapper.
      	(trace-1): Use fwrap instead of encapsulate.
      	(untrace-1): Use funwrap instead of unencapsulate.
      e9211546
  15. May 15, 2003
    • gerd's avatar
      Let TRACE and PROFILE ignore package locks. · e58c5048
      gerd authored
      	* src/code/ntrace.lisp (trace-1, untrace-1): Use
      	without-package-locks.
      
      	* src/code/profile.lisp (make-profile-encapsulation)
      	(unprofile-1-function): Use without-package-locks.
      	(compute-time-overhead): Don't use without-package-locks.
      e58c5048
    • gerd's avatar
      Functions used in the implementation of TRACE can be traced using · d517659e
      gerd authored
      	encapsulation.  Use encapsulation for functions from a given list
      	of packages to automate this.
      
      	* src/code/ntrace.lisp (*trace-encapsulate-package-names*): New
      	variable.
      	(trace-call): Temporarily restore the unencapsulated definition of
      	the function.
      	(encapsulate-by-package-p): New function.
      	(trace-1): Use it.
      
      	* src/code/exports.lisp ("DEBUG"): Export
      	*trace-encapsulate-package-names*.
      
      	* src/docs/cmu-user/debugger.tex (section{Function Tracing}):
      	Add *trace-encapsulate-package-names*.
      d517659e
  16. May 11, 2003
  17. May 09, 2003
  18. Mar 22, 2003
    • gerd's avatar
      * bootfiles/18e/boot[12].lisp: Bootstrap files for the lisp:class · a1e3ed93
      gerd authored
      = pcl:class part.  To get it booted from 18e, cross-compile using
      boot1.lisp as bootstrap.lisp in pmai's build scripts, then do a
      normal compile with boot2.lisp as bootstrap.lisp with the
      resulting Lisp.
      
      * code/byte-interp.lisp, code/defstruct.lisp, code/describe.lisp:
      * code/error.lisp, code/exports.lisp, code/hash-new.lisp:
      * code/hash.lisp, code/macros.lisp, code/misc.lisp:
      * code/package.lisp, code/pred.lisp, code/sharpm.lisp, code/type.lisp:
      * compiler/dump.lisp, compiler/fndb.lisp, compiler/globaldb.lisp:
      * compiler/proclaim.lisp, compiler/typetran.lisp, compiler/xref.lisp:
      * compiler/generic/primtype.lisp, compiler/generic/vm-type.lisp:
      Changes for to use kernel::class etc.
      
      * code/class.lisp (toplevel): Shadow class, built-in-class etc.
      (class): Give it conc-name %class-.
      (toplevel) [#+bootstrap-lisp-class=pcl-class]: Define old accessors.
      (everywhere): Use new class accessors.
      
      * compiler/generic/vm-fndb.lisp (%make-instance): Change from
      unsafe to flushable and movable.
      
      * code/ntrace.lisp (expand-trace, untrace): Changes for method
      tracing.
      
      * code/profile.lisp (profile, profile-all, unprofile): Method
      profiling.
      
      * pcl/*.text, pcl/bench.lisp, pcl/extensions.lisp:
      * pcl/fast-init.lisp, pcl/precom1.lisp, pcl/precom4.lisp:
      * pcl/structure-class.lisp, pcl/user-instances.lisp:
      Removed.
      
      * tools/pclcom.lisp: Changes for my PCL and lisp:class =
      pcl::class.
      a1e3ed93
  19. Jan 29, 2003
    • cracauer's avatar
      · aec7af60
      cracauer authored
      When tracing, set the verbosity level of print-frame-call to 1.
      
      If you use the *default-print-frame-call-verbosity* variable I
      committed last week (to get source print along with frames in
      backtraces) then you would also print the source in trace prints.
      aec7af60
  20. Jan 23, 2003
    • toy's avatar
      From Eric Marsden: · f315d7f1
      toy authored
          fix typos in comments, signal more specific error types, remove
          some stale code, fix a few compiler warnings in the runtime.
      f315d7f1
  21. Nov 30, 1997
  22. Nov 29, 1997
  23. Nov 28, 1997
  24. Nov 04, 1997
  25. Jan 18, 1997
  26. Oct 31, 1994
  27. Feb 11, 1994
  28. Jun 23, 1993
  29. Jan 13, 1993
  30. Dec 08, 1992
  31. Jul 10, 1992
  32. May 27, 1992
  33. May 15, 1992
    • ram's avatar
      Fixed to actually allow tracing anonymous function objects. Changed to allow · 2f20645c
      ram authored
      tracing of macros.  When tracing an already traced function, untrace and
      retrace it, instead of ignoring the second request.  Moved the undefined error
      for UNTRACE to the UNTRACE-1 subfunction, instead of signalling it at
      macroexpand time.  In TRACE-1, added an assertion that there isn't already an
      entry in the trace breakpoint table, since sometimes we seem to be forgetting
      about breakpoints.
      2f20645c
  34. Mar 10, 1992
  35. Nov 26, 1991
    • chiles's avatar
      · 6a392f5f
      chiles authored
      Made TRACE and UNTRACE handle function objects as well as function names.
      
      Made calling UNTRACE while with a BREAK from TRACE'ing work fine.  No output
      occurs at the end of the call even though there was TRACE output at the
      beginning of the call before going into the BREAK loop.
      6a392f5f
  36. Nov 15, 1991
  37. Nov 03, 1991
    • chiles's avatar
      · f99de75d
      chiles authored
      Added CLEAR-TRACE-BREAKPOINT-RECORD to ext:*setf-fdefinition-hook*.
      
      Fixed package system, so the old TRACE and new one didn't conflict with
      variable names.
      
      Added debug:*trace-frame* to support users who want to enter expressions for
      evaluation in the frame.  This is described in the TRACE doc string.
      
      Fixed TRACE interface to support any function name, not just symbols.
      Underlying support allowed this, but TRACE complained when it inspected its
      arguments.
      
      Added full support for documented interface of TRACE since before it only
      allowed users to see arguments and output without conditionalization, printing,
      etc.
      f99de75d
  38. Oct 13, 1991
Loading