diff options
author | Andrew Burgess <aburgess@redhat.com> | 2022-04-04 13:41:49 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2022-04-04 13:41:49 +0100 |
commit | edbc15e6c4f463173b25b1f8042346c2e1a78602 (patch) | |
tree | efd062897d869efaea165ae55d1722191da536ad /gdb/disasm.c | |
parent | fbbb45cef5f740d0e273b0f5fe4d19a093c2bf8f (diff) | |
download | binutils-edbc15e6c4f463173b25b1f8042346c2e1a78602.zip binutils-edbc15e6c4f463173b25b1f8042346c2e1a78602.tar.gz binutils-edbc15e6c4f463173b25b1f8042346c2e1a78602.tar.bz2 |
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.
Diffstat (limited to 'gdb/disasm.c')
-rw-r--r-- | gdb/disasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/disasm.c b/gdb/disasm.c index 8b6d9db..f2df5ef 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; |