From 7e9e74b6a8ac919227fc4432e01745217665762b Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 2 Jan 2022 13:08:45 -0700 Subject: Remove ui_out_flag::unfiltered_output There is no longer any need for ui_out_flag::unfiltered_output -- nothing ever sets this flag. This used to be needed to make the _unfiltered output work, but now only printf_unfiltered can be used, and it uses the puts_unfiltered method. This patch removes the flag and the dead code. --- gdb/ui-out.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gdb/ui-out.h') diff --git a/gdb/ui-out.h b/gdb/ui-out.h index cd36211..9e6ff9a 100644 --- a/gdb/ui-out.h +++ b/gdb/ui-out.h @@ -53,12 +53,9 @@ enum ui_out_flag { ui_source_list = (1 << 0), fix_multi_location_breakpoint_output = (1 << 1), - /* For CLI output, this flag is set if unfiltered output is desired. - This should only be used by low-level formatting functions. */ - unfiltered_output = (1 << 2), /* This indicates that %pF should be disallowed in a printf format string. */ - disallow_ui_out_field = (1 << 3) + disallow_ui_out_field = (1 << 2) }; DEF_ENUM_FLAGS_TYPE (ui_out_flag, ui_out_flags); -- cgit v1.1