aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-01-01 13:35:13 -0700
committerTom Tromey <tom@tromey.com>2022-03-29 12:46:24 -0600
commit0e37c0638c15f7ed9215029d9185498ce2741603 (patch)
treec7942993dd96dac29778bab96e00c74ac9f89823 /gdb/utils.c
parentc8d74a7b4b341f7498a3827555451924cabdd0f1 (diff)
downloadgdb-0e37c0638c15f7ed9215029d9185498ce2741603.zip
gdb-0e37c0638c15f7ed9215029d9185498ce2741603.tar.gz
gdb-0e37c0638c15f7ed9215029d9185498ce2741603.tar.bz2
Remove vfprintf_styled_no_gdbfmt
This removes vfprintf_styled_no_gdbfmt, inlining it at the sole point of call.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index 8f479c4..57ce9ca 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -1993,21 +1993,6 @@ vfprintf_styled (struct ui_file *stream, const ui_file_style &style,
set_output_style (stream, ui_file_style ());
}
-/* See utils.h. */
-
-void
-vfprintf_styled_no_gdbfmt (struct ui_file *stream, const ui_file_style &style,
- bool filter, const char *format, va_list args)
-{
- std::string str = string_vprintf (format, args);
- if (!str.empty ())
- {
- set_output_style (stream, style);
- fputs_maybe_filtered (str.c_str (), stream, filter);
- set_output_style (stream, ui_file_style ());
- }
-}
-
void
printf_filtered (const char *format, ...)
{