public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PUSHED] gdb: remove use of vfprintf_filtered
@ 2022-04-04 12:45 Andrew Burgess
  2022-04-04 15:46 ` Hans-Peter Nilsson
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Burgess @ 2022-04-04 12:45 UTC (permalink / raw)
  To: binutils; +Cc: Andrew Burgess

Sorry for the recent breakage.  Should be fixed with this commit.

Andrew

---

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.
---
 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;
-- 
2.25.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PUSHED] gdb: remove use of vfprintf_filtered
  2022-04-04 12:45 [PUSHED] gdb: remove use of vfprintf_filtered Andrew Burgess
@ 2022-04-04 15:46 ` Hans-Peter Nilsson
  0 siblings, 0 replies; 2+ messages in thread
From: Hans-Peter Nilsson @ 2022-04-04 15:46 UTC (permalink / raw)
  To: Andrew Burgess; +Cc: binutils, gdb-patches

Looks like this was accidentally sent to (just) binutils instead
of gdb-patches (now CC:ed).

On Mon, 4 Apr 2022, Andrew Burgess via Binutils wrote:

> Sorry for the recent breakage.  Should be fixed with this commit.
>
> Andrew
>
> ---
>
> 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.
> ---
>  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;
> --
> 2.25.4
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-04 15:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-04 12:45 [PUSHED] gdb: remove use of vfprintf_filtered Andrew Burgess
2022-04-04 15:46 ` Hans-Peter Nilsson

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).