* tracepoint.c (trace_save): Call the writer's start method.
authorKeith Seitz <keiths@redhat.com>
Wed, 24 Apr 2013 18:22:31 +0000 (18:22 +0000)
committerKeith Seitz <keiths@redhat.com>
Wed, 24 Apr 2013 18:22:31 +0000 (18:22 +0000)
gdb/ChangeLog
gdb/tracepoint.c

index ba963e504ce1323bd0db4a22d64dd4d688b10dab..cd80314fdc07ed53563d4d73eece47dc8dd91487 100644 (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
index f5c9c4968202af8717e5fa37fbc05e47771eef69..e2b21af93e51c0e0da68a7ae1fc45f434adca21b 100644 (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.  */