This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix qtsave filename printing


Hi,

Another obvious patch that fixes printing of the filename when the user asks the target to save the trace data on its end.

Luis
2011-09-28  Luis Machado  <lgustavo@codesourcery.com>

	gdb/
	* tracepoint.c (trace_save_command): Use filename instead of
	args when printing.

--- .pc/qtsave_file.diff/gdb/tracepoint.c	2011-09-28 03:25:03.971993001 -0300
+++ gdb/tracepoint.c	2011-09-28 03:26:03.887993000 -0300
@@ -2885,7 +2885,7 @@ trace_save_command (char *args, int from
   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);
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]