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>
Wed, 8 Jul 2020 18:19:09 +0000 (14:19 -0400)
commitedbcda09a1eb85765a9a3b7579658e88c86654f8
tree8eb72467977679f8819ff36c80d2cc33964dd6e1
parentcad904332d6aabc4e3e37b24526282d70aa88d2d
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.023929 seconds and 4 git commands to generate.