make/tests/scripts
Paul Smith 7044e0c93c [SV 59169] Add --debug=why and --debug=print options
Add debug options to print recipes even if they would otherwise be
silent, and to print the reason that a target was considered out of
date.

Modify --trace to simply be a shorthand for --debug=print,why.

* NEWS: Announce changes.
* doc/make.texi (Summary of Options): Document the new options.
* doc/make.1: Ditto.
* src/debug.h: Add new flags DB_PRINT and DB_WHY.
* src/makeint.h: Remove the trace_flag variable.
* src/job.c (start_job_command): Check debug flags not trace_flag.
(new_job): Ditto.
* src/main.c (trace_flag): Make a static variable for switches.
(decode_debug_flags): Set DB_PRINT and DB_WHY if trace_flag is set.
* tests/scripts/variables/GNUMAKEFLAGS: Update known-good messages.
* tests/scripts/variables/MAKEFLAGS: Ditto.
2020-12-05 16:25:12 -05:00
..
features [SV 57676] Support included files being built after failing 2020-12-05 15:06:25 -05:00
functions [SV 59093] Rewrite filter/filter-out to avoid large stack usage 2020-11-13 00:44:24 -05:00
misc [SV 35711] Check for special targets earlier 2020-11-29 17:55:02 -05:00
options
targets [SV 35711] Check for special targets earlier 2020-11-29 17:55:02 -05:00
variables [SV 59169] Add --debug=why and --debug=print options 2020-12-05 16:25:12 -05:00
vms
test_template