From ed10c6397cc27ad161c7fcd5242c38efd89dc5ee Mon Sep 17 00:00:00 2001 From: fche Date: Wed, 28 Sep 2005 21:23:12 +0000 Subject: 2005-09-28 Frank Ch. Eigler PR 1182. * main.cxx (main): Support -D macro-setting option. * stap.1.in: Document it and related macros. * buildrun.cxx (compile_pass): Emit macro definitions. * translate.cxx (translate_pass): Guard limit macros with #ifdef. Eliminate MAXCONCURRENCY macro. * elaborate.h (systemtap_session): Add "macros" field. * parse.cxx (parse_if_statement): Clear "elseblock" if needed. 2005-09-28 Frank Ch. Eigler PR 1182. * systemtap.samples/control_limits.*: New test. --- main.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'main.cxx') diff --git a/main.cxx b/main.cxx index dcdf67f5..860e18b0 100644 --- a/main.cxx +++ b/main.cxx @@ -71,6 +71,7 @@ usage (systemtap_session& s) for (unsigned i=0; i