public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
From: Tom Tromey <tromey@sourceware.org>
To: gdb-cvs@sourceware.org
Subject: [binutils-gdb] Remove vfprintf_styled
Date: Tue, 29 Mar 2022 19:43:26 +0000 (GMT) [thread overview]
Message-ID: <20220329194326.6F6D43858C50@sourceware.org> (raw)
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=179d59a3ee651b593e887367553515e64cdc5cde
commit 179d59a3ee651b593e887367553515e64cdc5cde
Author: Tom Tromey <tom@tromey.com>
Date: Sun Jan 2 13:56:42 2022 -0700
Remove vfprintf_styled
Nothing calls vfprintf_styled any more, so remove it.
Diff:
---
gdb/utils.c | 11 -----------
gdb/utils.h | 6 ------
2 files changed, 17 deletions(-)
diff --git a/gdb/utils.c b/gdb/utils.c
index bc0cdd05755..8d3a89cf036 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 71a034935cf..3d057466912 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. */
reply other threads:[~2022-03-29 19:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220329194326.6F6D43858C50@sourceware.org \
--to=tromey@sourceware.org \
--cc=gdb-cvs@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).