From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1726) id 2E5FD385800E; Mon, 4 Apr 2022 12:43:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2E5FD385800E Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Andrew Burgess To: gdb-cvs@sourceware.org Subject: [binutils-gdb] gdb: remove use of vfprintf_filtered X-Act-Checkin: binutils-gdb X-Git-Author: Andrew Burgess X-Git-Refname: refs/heads/master X-Git-Oldrev: fbbb45cef5f740d0e273b0f5fe4d19a093c2bf8f X-Git-Newrev: edbc15e6c4f463173b25b1f8042346c2e1a78602 Message-Id: <20220404124344.2E5FD385800E@sourceware.org> Date: Mon, 4 Apr 2022 12:43:44 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2022 12:43:44 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dedbc15e6c4f4= 63173b25b1f8042346c2e1a78602 commit edbc15e6c4f463173b25b1f8042346c2e1a78602 Author: Andrew Burgess Date: Mon Apr 4 13:41:49 2022 +0100 gdb: remove use of vfprintf_filtered =20 Commit: =20 commit 60a3da00bd5407f07d64dff82a4dae98230dfaac Date: Sat Jan 22 11:38:18 2022 +0000 =20 objdump/opcodes: add syntax highlighting to disassembler output =20 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; =20 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;