Use debug_prefixed_printf_cond_nofunc in index-cache
authorTom Tromey <tom@tromey.com>
Mon, 27 Dec 2021 01:36:36 +0000 (18:36 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 29 Dec 2021 17:54:29 +0000 (10:54 -0700)
commitca78fadba919f2df2913ae893e0d8c587bb105a2
treec0f61230dbe0bad171f83947e1c342761189118a
parented670d411821495478cf5e1a9e870cabd03b4cf6
Use debug_prefixed_printf_cond_nofunc in index-cache

This changes index-cache.c to use debug_prefixed_printf_cond_nofunc.
As a side effect, logs are now written to gdb_stdlog.  This is part of
PR gdb/7233.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=7233
gdb/dwarf2/index-cache.c