]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Move finish_print out of value_print_options
authorTom Tromey <tromey@adacore.com>
Mon, 6 Jun 2022 16:01:40 +0000 (10:01 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 20 Jun 2022 15:11:13 +0000 (09:11 -0600)
commit5ffa6ca3e553563004bd9d306bef38e2bee6fecc
tree94b45b310ad391198f8a7e4e86c289352262ed6b
parent0d02e70b197c786f26175b9a73f94e01d14abdab
Move finish_print out of value_print_options

'finish_print' does not really belong in value_print_options -- this
is consulted only when deciding whether or not to print a value, and
never during the course of printing.  This patch removes it from the
structure and makes it a static global in infcmd.c instead.

Tested on x86-64 Fedora 34.
gdb/infcmd.c
gdb/valprint.c
gdb/valprint.h