Delete def_uiout
authorPedro Alves <palves@redhat.com>
Tue, 21 Jun 2016 00:11:48 +0000 (01:11 +0100)
committerPedro Alves <palves@redhat.com>
Tue, 21 Jun 2016 00:11:48 +0000 (01:11 +0100)
commit23ff98d2fed4a1eaeb815e18cd4169e5aa7aaa60
tree8b11c4d57ce87234bd01c7aca618c244a595a957
parent694ec099d2fca9e7d47848e8a7fc40ea3aa47a32
Delete def_uiout

Currently, current_uiout starts out pointing to def_uiout, a dummy
ui_out implementation.

Since we create a replacement uiout early on as soon as we create the
interpreter, we never actually use def_uiout.  So this patch removes
it.

The proof that it works is that starting with current_uiout set to
NULL does not crash.

gdb/ChangeLog:
2016-06-21  Pedro Alves  <palves@redhat.com>

* ui-out.c (default_ui_out_impl): Delete.
(def_uiout): Delete.
(current_uiout): Set to NULL.
(default_table_begin, default_table_body, default_table_end)
(default_table_header, default_begin, default_end)
(default_field_int, default_field_skip, default_field_string)
(default_field_fmt, default_spaces, default_text, default_message)
(default_wrap_hint, default_flush, default_data_destroy): Delete.
gdb/ChangeLog
gdb/ui-out.c