gdb: tweak format of infrun debug log
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 21 Feb 2020 04:43:23 +0000 (23:43 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 4 Jun 2020 19:04:21 +0000 (15:04 -0400)
commit4100594e3d6266e111c0e8b42d58d383e89f9534
tree82b8af9cf7048bc128546224c47039d5ca459f3c
parente2c8dab6ae8654a928ab9364d5090781a4a6f62f
gdb: tweak format of infrun debug log

Introduce the infrun_log_debug macro and infrun_log_debug_1 helper
function.  This avoids having to repeat `infrun: ` in front of all
messages, and `if (debug_infrun)` at all call sites.
gdb/infrun.c
gdb/testsuite/gdb.base/gdb-sigterm.exp
gdb/testsuite/gdb.threads/signal-while-stepping-over-bp-other-thread.exp
gdb/testsuite/gdb.threads/stepi-random-signal.exp
This page took 0.025117 seconds and 4 git commands to generate.