summaryrefslogtreecommitdiff
path: root/gdb/cli-out.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/cli-out.h')
-rw-r--r--gdb/cli-out.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/cli-out.h b/gdb/cli-out.h
index 1b6a1ade812..5a775e9881f 100644
--- a/gdb/cli-out.h
+++ b/gdb/cli-out.h
@@ -32,6 +32,12 @@ public:
ui_file *set_stream (ui_file *stream);
+ bool suppress_output ()
+ { return m_suppress_output; }
+
+ void suppress_output (bool val)
+ { m_suppress_output = val; }
+
protected:
virtual void do_table_begin (int nbrofcols, int nr_rows,
@@ -62,9 +68,6 @@ protected:
virtual void do_flush () override;
virtual void do_redirect (struct ui_file *outstream) override;
- bool suppress_output ()
- { return m_suppress_output; }
-
private:
void field_separator ();