This is the mail archive of the
cgen-cvs@sourceware.org
mailing list for the CGEN Project.
src/cgen ChangeLog dev.scm pmacros.scm read.sc ...
- From: devans at sourceware dot org
- To: cgen-cvs at sourceware dot org
- Date: 7 Aug 2009 21:29:20 -0000
- Subject: src/cgen ChangeLog dev.scm pmacros.scm read.sc ...
CVSROOT: /cvs/src
Module name: src
Changes by: devans@sourceware.org 2009-08-07 21:29:20
Modified files:
cgen : ChangeLog dev.scm pmacros.scm read.scm
utils-cgen.scm utils.scm
cgen/doc : running.texi
Log message:
Add -t option for tracing things like commands, pmacro expansion.
* dev.scm (cload): New arg #:trace.
* pmacros.scm (-pmacro-expand): Rewrite pmacro tracing.
(pmacro-trace): New arg `loc'. Rewrite pmacro tracing.
(pmacro-debug): Call pmacro-trace instead of -pmacro-expand.
* read.scm (<reader>): New members trace-commands?, trace-pmacros?.
(-reader-process-expanded-1!): Trace commands if requested.
(-reader-process!): Call pmacro-trace of pmacro tracing requested.
(-set-trace-options!): New function.
(-init-reader!): New function.
(cpu-load): New arg trace-options, all callers updated.
Call -init-reader! and -set-trace-options!.
(cgen-usage): Improve output formatting.
(common-arguments): New option -t.
(-cgen): Process -t.
* utils-cgen.scm (single-location->string): Renamed from
pretty-print-single-location. All callers updated.
(location->string): Renamed from pretty-print-location.
All callers updated.
(source-properties-location->string): New function.
* doc/running.texi: Document -t.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/ChangeLog.diff?cvsroot=src&r1=1.323&r2=1.324
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/dev.scm.diff?cvsroot=src&r1=1.14&r2=1.15
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/pmacros.scm.diff?cvsroot=src&r1=1.11&r2=1.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/read.scm.diff?cvsroot=src&r1=1.24&r2=1.25
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/utils-cgen.scm.diff?cvsroot=src&r1=1.10&r2=1.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/utils.scm.diff?cvsroot=src&r1=1.27&r2=1.28
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/doc/running.texi.diff?cvsroot=src&r1=1.3&r2=1.4