aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-out.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-01-02 13:08:45 -0700
committerTom Tromey <tom@tromey.com>2022-03-29 12:46:25 -0600
commit7e9e74b6a8ac919227fc4432e01745217665762b (patch)
tree506c6fb2540ba78b522164a4ea81a80616b815a7 /gdb/ui-out.h
parentbed009b9d8601de825ac848c543ee9853628940d (diff)
downloadgdb-7e9e74b6a8ac919227fc4432e01745217665762b.zip
gdb-7e9e74b6a8ac919227fc4432e01745217665762b.tar.gz
gdb-7e9e74b6a8ac919227fc4432e01745217665762b.tar.bz2
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.
Diffstat (limited to 'gdb/ui-out.h')
-rw-r--r--gdb/ui-out.h5
1 files changed, 1 insertions, 4 deletions
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);