diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ba963e504ce..cd80314fdc0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-04-22 Keith Seitz + + * tracepoint.c (trace_save): Call the writer's start method. + 2013-04-24 Muhammad Bilal PR gdb/10462 diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index f5c9c496820..e2b21af93e5 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -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. */