* tracepoint.c (trace_save): Call the writer's start method.

This commit is contained in:
Keith Seitz 2013-04-24 18:22:31 +00:00
parent 4390599b4e
commit 3cf62c1d5c
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2013-04-22 Keith Seitz <keiths@redhat.com>
* tracepoint.c (trace_save): Call the writer's start method.
2013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
PR gdb/10462

View File

@ -3341,6 +3341,8 @@ trace_save (const char *filename, struct trace_file_writer *writer,
target is losing, we can get out without touching files. */
status = target_get_trace_status (ts);
writer->ops->start (writer, filename);
writer->ops->write_header (writer);
/* Write descriptive info. */