summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorStan Shebs <shebs@apple.com>2012-06-12 00:58:54 +0000
committerStan Shebs <shebs@apple.com>2012-06-12 00:58:54 +0000
commit0a4f31a180a160179bd39f5b04ac341be28b0f0c (patch)
tree7aa195f201c243e1361b9b46f0170309e2c9a8f7 /gdb
parentd61da2bf7b1840627cebfadc96ef9b784e0b7666 (diff)
downloadgdb-0a4f31a180a160179bd39f5b04ac341be28b0f0c.tar.gz
* ui-out.h: Remove #if 0 declarations.
* ui-out.c: Remove #if 0 functions.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/ui-out.c55
-rw-r--r--gdb/ui-out.h24
3 files changed, 5 insertions, 79 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6b28932c8c0..1cbe08685f5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2012-06-11 Stan Shebs <stan@codesourcery.com>
+
+ * ui-out.h: Remove #if 0 declarations.
+ * ui-out.c: Remove #if 0 functions.
+
2012-06-11 Pedro Alves <palves@redhat.com>
* ser-base.c (run_async_handler_and_reschedule): New.
diff --git a/gdb/ui-out.c b/gdb/ui-out.c
index ec68cdd2153..afd15f9ea14 100644
--- a/gdb/ui-out.c
+++ b/gdb/ui-out.c
@@ -644,61 +644,6 @@ ui_out_get_verblvl (struct ui_out *uiout)
return 0;
}
-#if 0
-void
-ui_out_result_begin (struct ui_out *uiout, char *class)
-{
-}
-
-void
-ui_out_result_end (struct ui_out *uiout)
-{
-}
-
-void
-ui_out_info_begin (struct ui_out *uiout, char *class)
-{
-}
-
-void
-ui_out_info_end (struct ui_out *uiout)
-{
-}
-
-void
-ui_out_notify_begin (struct ui_out *uiout, char *class)
-{
-}
-
-void
-ui_out_notify_end (struct ui_out *uiout)
-{
-}
-
-void
-ui_out_error_begin (struct ui_out *uiout, char *class)
-{
-}
-
-void
-ui_out_error_end (struct ui_out *uiout)
-{
-}
-#endif
-
-#if 0
-void
-gdb_error (ui_out * uiout, int severity, char *format,...)
-{
- va_list args;
-}
-
-void
-gdb_query (struct ui_out *uiout, int qflags, char *qprompt)
-{
-}
-#endif
-
int
ui_out_is_mi_like_p (struct ui_out *uiout)
{
diff --git a/gdb/ui-out.h b/gdb/ui-out.h
index 4b9725f5129..0ffe51d09b8 100644
--- a/gdb/ui-out.h
+++ b/gdb/ui-out.h
@@ -142,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