public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
From: Andrew Burgess <aburgess@sourceware.org>
To: gdb-cvs@sourceware.org
Subject: [binutils-gdb] gdb: remove use of vfprintf_filtered
Date: Mon,  4 Apr 2022 12:43:44 +0000 (GMT)	[thread overview]
Message-ID: <20220404124344.2E5FD385800E@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=edbc15e6c4f463173b25b1f8042346c2e1a78602

commit edbc15e6c4f463173b25b1f8042346c2e1a78602
Author: Andrew Burgess <aburgess@redhat.com>
Date:   Mon Apr 4 13:41:49 2022 +0100

    gdb: remove use of vfprintf_filtered
    
    Commit:
    
      commit 60a3da00bd5407f07d64dff82a4dae98230dfaac
      Date:   Sat Jan 22 11:38:18 2022 +0000
    
          objdump/opcodes: add syntax highlighting to disassembler output
    
    Introduced a new use of vfprintf_filtered, which has been deprecated.
    This commit replaces this with gdb_vprintf instead.

Diff:
---
 gdb/disasm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/disasm.c b/gdb/disasm.c
index 8b6d9db7e84..f2df5ef7bc5 100644
--- a/gdb/disasm.c
+++ b/gdb/disasm.c
@@ -187,7 +187,7 @@ gdb_disassembler::dis_asm_styled_fprintf (void *stream,
   va_list args;
 
   va_start (args, format);
-  vfprintf_filtered ((struct ui_file *) stream, format, args);
+  gdb_vprintf ((struct ui_file *) stream, format, args);
   va_end (args);
   /* Something non -ve.  */
   return 0;


                 reply	other threads:[~2022-04-04 12: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=20220404124344.2E5FD385800E@sourceware.org \
    --to=aburgess@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).