diff options
| author | Alex Bennée | 2017-03-02 20:08:52 +0100 |
|---|---|---|
| committer | Alex Bennée | 2017-03-09 11:41:49 +0100 |
| commit | 68bf93ce9dc5c84c45a827ce2bd6eab768524e79 (patch) | |
| tree | 9c71868068cf41017e0a4c79e42906ed6abfaf53 /include | |
| parent | target/arm/helper: make it clear the EC field is also in hex (diff) | |
| download | qemu-68bf93ce9dc5c84c45a827ce2bd6eab768524e79.tar.gz qemu-68bf93ce9dc5c84c45a827ce2bd6eab768524e79.tar.xz qemu-68bf93ce9dc5c84c45a827ce2bd6eab768524e79.zip | |
hw/intc/arm_gic: modernise the DPRINTF
While I was debugging the icount issues I realised a bunch of the
messages look quite similar. I've fixed this by including __func__ in
the debug print. At the same time I move the a modern if (GATE) style
printf which ensures the compiler can check for format string errors
even if the code gets optimised away in the non-DEBUG_GIC case.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
