2011-10-13 Luis Machado <lgustavo@codesourcery.com>
authorLuis Machado <luisgpm@br.ibm.com>
Thu, 13 Oct 2011 13:06:18 +0000 (13:06 +0000)
committerLuis Machado <luisgpm@br.ibm.com>
Thu, 13 Oct 2011 13:06:18 +0000 (13:06 +0000)
* tracepoint.c (trace_save_command): Use filename instead of
args when printing.

gdb/ChangeLog
gdb/tracepoint.c

index e58ca8009d0f920b369e466651317ba248a83541..0933b08d878c2afcd2e513f392e985b6be8b872c 100644 (file)
@@ -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
index d5c9a6d47649f200beef479c8c343e09bbbfb89f..d88fcd7c9950187f95ab9f5513b783a1836dbc4a 100644 (file)
@@ -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);
 }