diff options
author | Tom Tromey <tromey@adacore.com> | 2022-03-30 09:32:18 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-03-30 09:32:18 -0600 |
commit | cd1c3a45442e8ef68d062215d508c8104a8e008d (patch) | |
tree | ee1106ccdcf8b12087971a3613ac3de78f848542 /gdb/darwin-nat.c | |
parent | c50e54825bfea1ab6afbd984a4d2e78e9306e70f (diff) | |
download | gdb-cd1c3a45442e8ef68d062215d508c8104a8e008d.zip gdb-cd1c3a45442e8ef68d062215d508c8104a8e008d.tar.gz gdb-cd1c3a45442e8ef68d062215d508c8104a8e008d.tar.bz2 |
Use gdb_printf and gdb_vprintf in more places
Luis pointed out that I missed a spot in the gdb_printf conversion --
namely aarch64-nat.c. While looking at this, I found another spot in
darwin-nat.c that I also missed. I can't build either of these, but I
think this patch should fix the problems.
Diffstat (limited to 'gdb/darwin-nat.c')
-rw-r--r-- | gdb/darwin-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c index 60d315b..1772365 100644 --- a/gdb/darwin-nat.c +++ b/gdb/darwin-nat.c @@ -170,7 +170,7 @@ inferior_debug (int level, const char *fmt, ...) va_start (ap, fmt); gdb_printf (gdb_stdlog, _("[%d inferior]: "), getpid ()); - vfprintf_unfiltered (gdb_stdlog, fmt, ap); + gdb_vprintf (gdb_stdlog, fmt, ap); va_end (ap); } |