scons: Separate debug flags from debug-format flags
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Wed, 13 Jan 2021 23:58:47 +0000 (20:58 -0300)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Wed, 3 Feb 2021 01:07:56 +0000 (01:07 +0000)
commit4ff5fa567bab2f848146386f2b1d1a3dfed9d0e2
treedff656a12e8836b277e674133a259d5f13b98097
parent58ccc6287e95c597a14d359c0fb703774d02eb82
scons: Separate debug flags from debug-format flags

Debug flags are flags that aid with debugging by printing
relevant information when enabled. Debug-formatting flags
define how the debug flags will print the information.

Although a viability, this patch does not support declaring
compound format flags.

As a side effect, now debug flags and debug-formatting flags
are printed in different lists, when using --debug-help.

Change-Id: Ieae68745276218cf4e9c1d37d7bf3bd1f19709ae
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39076
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/SConscript
src/base/SConscript
src/base/debug.hh
src/base/debug.test.cc
src/python/m5/debug.py
src/python/pybind11/debug.cc