gdb: remove use of vfprintf_filtered

Commit:

  commit 60a3da00bd
  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.
This commit is contained in:
Andrew Burgess 2022-04-04 13:41:49 +01:00
parent fbbb45cef5
commit edbc15e6c4

View File

@ -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;