aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/tracepoint.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e58ca80..0933b08 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-13 Luis Machado <lgustavo@codesourcery.com>
+
+ * tracepoint.c (trace_save_command): Use filename instead of
+ args when printing.
+
2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
* dwarf2read.c (dwarf2_fetch_die_location_block): Initialize .data even
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index d5c9a6d..d88fcd7 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);
}