aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 0f2a1bc..938bc08 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -70,6 +70,7 @@
#include "gdbsupport/selftest.h"
#include "scoped-mock-context.h"
#include "test-target.h"
+#include "debug.h"
/* Prototypes for local functions */
@@ -106,14 +107,10 @@ static int infrun_is_async = -1;
void
infrun_debug_printf_1 (const char *func_name, const char *fmt, ...)
{
- debug_printf ("[infrun] %s: ", func_name);
-
va_list ap;
va_start (ap, fmt);
- debug_vprintf (fmt, ap);
+ debug_prefixed_vprintf ("infrun", func_name, fmt, ap);
va_end (ap);
-
- debug_printf ("\n");
}
/* See infrun.h. */