diff options
author | Luis Machado <luisgpm@br.ibm.com> | 2011-10-13 13:06:18 +0000 |
---|---|---|
committer | Luis Machado <luisgpm@br.ibm.com> | 2011-10-13 13:06:18 +0000 |
commit | a70633a2ddd428843a4db54a72ff13b2501cb705 (patch) | |
tree | 35309d5a4c17ab88272eb964f953dd8ccbaea641 | |
parent | 9cd3e4e527d452aa52a528f05c167e9f3f888192 (diff) | |
download | gdb-a70633a2ddd428843a4db54a72ff13b2501cb705.zip gdb-a70633a2ddd428843a4db54a72ff13b2501cb705.tar.gz gdb-a70633a2ddd428843a4db54a72ff13b2501cb705.tar.bz2 |
2011-10-13 Luis Machado <lgustavo@codesourcery.com>
* tracepoint.c (trace_save_command): Use filename instead of
args when printing.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/tracepoint.c | 2 |
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); } |