diff options
Diffstat (limited to 'gdb/tracefile.c')
-rw-r--r-- | gdb/tracefile.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/tracefile.c b/gdb/tracefile.c index 50510af9805..44d88103d4b 100644 --- a/gdb/tracefile.c +++ b/gdb/tracefile.c @@ -24,6 +24,7 @@ #include "regcache.h" #include "gdbsupport/byte-vector.h" #include "gdbarch.h" +#include "gdbsupport/buildargv.h" /* Helper macros. */ @@ -350,8 +351,8 @@ tsave_command (const char *args, int from_tty) trace_save_tfile (filename, target_does_save); if (from_tty) - printf_filtered (_("Trace data saved to %s '%s'.\n"), - generate_ctf ? "directory" : "file", filename); + gdb_printf (_("Trace data saved to %s '%s'.\n"), + generate_ctf ? "directory" : "file", filename); } /* Save the trace data to file FILENAME of tfile format. */ |