From a70633a2ddd428843a4db54a72ff13b2501cb705 Mon Sep 17 00:00:00 2001 From: Luis Machado Date: Thu, 13 Oct 2011 13:06:18 +0000 Subject: [PATCH] 2011-10-13 Luis Machado * tracepoint.c (trace_save_command): Use filename instead of args when printing. --- gdb/ChangeLog | 5 +++++ gdb/tracepoint.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e58ca8009d0..0933b08d878 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-10-13 Luis Machado + + * tracepoint.c (trace_save_command): Use filename instead of + args when printing. + 2011-10-13 Jan Kratochvil * dwarf2read.c (dwarf2_fetch_die_location_block): Initialize .data even diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index d5c9a6d4764..d88fcd7c995 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -2925,7 +2925,7 @@ trace_save_command (char *args, int from_tty) trace_save (filename, target_does_save); if (from_tty) - printf_filtered (_("Trace data saved to file '%s'.\n"), args); + printf_filtered (_("Trace data saved to file '%s'.\n"), filename); do_cleanups (back_to); } -- 2.30.2