aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2016-12-02 17:12:37 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2016-12-02 17:12:37 -0500
commitbef721e278d9ba3178e679eda38ac86ef2dc0d5d (patch)
tree51e9142e61cac94c8f34ebaab19ef5855a365eaf /gdb/tui
parent107c2d628b924de1854d6d254d60e97e1887ce4a (diff)
downloadgdb-bef721e278d9ba3178e679eda38ac86ef2dc0d5d.zip
gdb-bef721e278d9ba3178e679eda38ac86ef2dc0d5d.tar.gz
gdb-bef721e278d9ba3178e679eda38ac86ef2dc0d5d.tar.bz2
Introduce enum_flag type for ui_out flags
This patch changes the ui_out flags to be an enum flag. gdb/ChangeLog: * ui-out.h: Include "common/enum-flags.h". (enum ui_flags): Rename to ... (enum ui_out_flag): ... this. (ui_out_flags): Define enum flag type. (ui_out_test_flags): Change type of parameter to ui_out_flags. (ui_out_new): Likewise. * ui-out.c (ui_out_test_flags): Likewise. (ui_out_new): Likewise. * cli-out.c (cli_out_new): Update variable type. * mi/mi-out.c (mi_out_new): Likewise. * tui/tui-out.c (tui_out_new): Likewise.
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-out.c b/gdb/tui/tui-out.c
index 4856562..a5f0541 100644
--- a/gdb/tui/tui-out.c
+++ b/gdb/tui/tui-out.c
@@ -145,7 +145,7 @@ tui_text (struct ui_out *uiout, const char *string)
struct ui_out *
tui_out_new (struct ui_file *stream)
{
- int flags = 0;
+ ui_out_flags flags = 0;
tui_out_data *data = new tui_out_data ();