Index: gdb/ui-out.h |
diff --git a/gdb/ui-out.h b/gdb/ui-out.h |
index 9a75eed1b9a03463c08529edb3ce7acbfa64b68d..0ffe51d09b8c14f03b96c6057c43d7404eaafb45 100644 |
--- a/gdb/ui-out.h |
+++ b/gdb/ui-out.h |
@@ -52,17 +52,6 @@ enum ui_flags |
}; |
-/* The ui_out stream structure. */ |
-/* NOTE: cagney/2000-02-01: The ui_stream object can be subsumed by |
- the more generic ui_file object. */ |
- |
-struct ui_stream |
- { |
- struct ui_out *uiout; |
- struct ui_file *stream; |
- }; |
- |
- |
/* Prototypes for ui-out API. */ |
/* A result is a recursive data structure consisting of lists and |
@@ -122,7 +111,7 @@ extern void ui_out_field_string (struct ui_out * uiout, const char *fldname, |
const char *string); |
extern void ui_out_field_stream (struct ui_out *uiout, const char *fldname, |
- struct ui_stream *buf); |
+ struct ui_file *stream); |
extern void ui_out_field_fmt (struct ui_out *uiout, const char *fldname, |
const char *format, ...) |
@@ -138,12 +127,6 @@ extern void ui_out_message (struct ui_out *uiout, int verbosity, |
const char *format, ...) |
ATTRIBUTE_PRINTF (3, 4); |
-extern struct ui_stream *ui_out_stream_new (struct ui_out *uiout); |
- |
-extern void ui_out_stream_delete (struct ui_stream *buf); |
- |
-struct cleanup *make_cleanup_ui_out_stream_delete (struct ui_stream *buf); |
- |
extern void ui_out_wrap_hint (struct ui_out *uiout, char *identstring); |
extern void ui_out_flush (struct ui_out *uiout); |
@@ -159,30 +142,6 @@ extern int ui_out_test_flags (struct ui_out *uiout, int mask); |
extern int ui_out_query_field (struct ui_out *uiout, int colno, |
int *width, int *alignment, char **col_name); |
-#if 0 |
-extern void ui_out_result_begin (struct ui_out *uiout, char *class); |
- |
-extern void ui_out_result_end (struct ui_out *uiout); |
- |
-extern void ui_out_info_begin (struct ui_out *uiout, char *class); |
- |
-extern void ui_out_info_end (struct ui_out *uiout); |
- |
-extern void ui_out_notify_begin (struct ui_out *uiout, char *class); |
- |
-extern void ui_out_notify_end (struct ui_out *uiout); |
- |
-extern void ui_out_error_begin (struct ui_out *uiout, char *class); |
- |
-extern void ui_out_error_end (struct ui_out *uiout); |
-#endif |
- |
-#if 0 |
-extern void gdb_error (struct ui_out *uiout, int severity, char *format, ...); |
- |
-extern void gdb_query (struct ui_out *uiout, int qflags, char *qprompt); |
-#endif |
- |
/* HACK: Code in GDB is currently checking to see the type of ui_out |
builder when determining which output to produce. This function is |
a hack to encapsulate that test. Once GDB manages to separate the |