From cc8dc3a87a41be02f41f2c2b1c90e6f463d3e052 Mon Sep 17 00:00:00 2001 From: rtoy <rtoy> Date: Thu, 22 May 2008 13:44:25 +0000 Subject: [PATCH] Have trace files contain a little more info. codegen.lisp: o Use ~S when printing out args of an instruction. (Mostly so fixups get printed with double-quotes for external function names.) debug.lisp: o Increase *print-length* and *print-level* so we can see a little more info when printing out the vop info. --- compiler/codegen.lisp | 4 ++-- compiler/debug.lisp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/compiler/codegen.lisp b/compiler/codegen.lisp index 12074a328..80e3dde25 100644 --- a/compiler/codegen.lisp +++ b/compiler/codegen.lisp @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/codegen.lisp,v 1.23 1994/10/31 04:27:28 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/codegen.lisp,v 1.24 2008/05/22 13:44:25 rtoy Rel $") ;;; ;;; ********************************************************************** ;;; @@ -153,7 +153,7 @@ (:align (format t "~0,8T.align~0,8T~A~%" args)) (t - (format t "~0,8T~A~@[~0,8T~{~A~^, ~}~]~%" inst args)))) + (format t "~0,8T~A~@[~0,8T~{~S~^, ~}~]~%" inst args)))) (undefined-value)) diff --git a/compiler/debug.lisp b/compiler/debug.lisp index bfdafe881..fc883038d 100644 --- a/compiler/debug.lisp +++ b/compiler/debug.lisp @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/debug.lisp,v 1.35 2002/12/07 18:19:33 toy Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/debug.lisp,v 1.36 2008/05/22 13:44:25 rtoy Exp $") ;;; ;;; ********************************************************************** ;;; @@ -1176,8 +1176,8 @@ (pprint-newline :linear) (when (vop-codegen-info vop) (princ (with-output-to-string (stream) - (let ((*print-level* 1) - (*print-length* 3)) + (let ((*print-level* 2) + (*print-length* 5)) (format stream "{~{~S~^ ~}} " (vop-codegen-info vop))))) (pprint-newline :linear)) (when (vop-results vop) -- GitLab