aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-01-02 13:56:42 -0700
committerTom Tromey <tom@tromey.com>2022-03-29 12:46:25 -0600
commit179d59a3ee651b593e887367553515e64cdc5cde (patch)
treebc0c8517e60e748adebddf45a51d3b9f2553650e
parent7e9e74b6a8ac919227fc4432e01745217665762b (diff)
downloadgdb-179d59a3ee651b593e887367553515e64cdc5cde.zip
gdb-179d59a3ee651b593e887367553515e64cdc5cde.tar.gz
gdb-179d59a3ee651b593e887367553515e64cdc5cde.tar.bz2
Remove vfprintf_styled
Nothing calls vfprintf_styled any more, so remove it.
-rw-r--r--gdb/utils.c11
-rw-r--r--gdb/utils.h6
2 files changed, 0 insertions, 17 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index bc0cdd0..8d3a89c 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -1837,17 +1837,6 @@ fprintf_styled (struct ui_file *stream, const ui_file_style &style,
stream->emit_style_escape (ui_file_style ());
}
-/* See utils.h. */
-
-void
-vfprintf_styled (struct ui_file *stream, const ui_file_style &style,
- const char *format, va_list args)
-{
- stream->emit_style_escape (style);
- gdb_vprintf (stream, format, args);
- stream->emit_style_escape (ui_file_style ());
-}
-
void
gdb_printf (const char *format, ...)
{
diff --git a/gdb/utils.h b/gdb/utils.h
index 71a0349..3d05746 100644
--- a/gdb/utils.h
+++ b/gdb/utils.h
@@ -271,12 +271,6 @@ extern void fprintf_styled (struct ui_file *stream,
...)
ATTRIBUTE_PRINTF (3, 4);
-extern void vfprintf_styled (struct ui_file *stream,
- const ui_file_style &style,
- const char *fmt,
- va_list args)
- ATTRIBUTE_PRINTF (3, 0);
-
/* Like gdb_puts, but styles the output according to STYLE, when
appropriate. */