]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Remove some uses of printf_unfiltered
authorTom Tromey <tom@tromey.com>
Sat, 8 Jan 2022 23:31:44 +0000 (16:31 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 29 Mar 2022 18:46:24 +0000 (12:46 -0600)
commit830df12588cfa80be673e710bee22761752ead11
tree184f592abd10c76bd670257b30ba240c6e88b4fb
parent9e4902bfacb49f350cb95e7ee0fe1a8eed33c353
Remove some uses of printf_unfiltered

A number of spots call printf_unfiltered only because they are in code
that should not be interrupted by the pager.  However, I believe these
cases are all handled by infrun's blanket ban on paging, and so can be
converted to the default (_filtered) API.

After this patch, I think all the remaining _unfiltered calls are ones
that really ought to be.  A few -- namely in complete_command -- could
be replaced by a scoped assignment to pagination_enabled, but for the
remainder, the code seems simple enough like this.
16 files changed:
gdb/fbsd-nat.c
gdb/infcmd.c
gdb/inferior.c
gdb/infrun.c
gdb/linux-nat.c
gdb/linux-thread-db.c
gdb/mdebugread.c
gdb/netbsd-nat.c
gdb/procfs.c
gdb/remote.c
gdb/sol-thread.c
gdb/solib-svr4.c
gdb/solib.c
gdb/target.c
gdb/thread.c
gdb/windows-nat.c