aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.c
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2013-04-24 18:22:31 +0000
committerKeith Seitz <keiths@redhat.com>2013-04-24 18:22:31 +0000
commit3cf62c1d5c6456a65214498f311bdb7d2a796567 (patch)
tree0dce7bddc00be0aa637acdc0c9e639822faa0006 /gdb/tracepoint.c
parent4390599b4ec1a4f6ec0fb84bcf44657fae667327 (diff)
downloadgdb-3cf62c1d5c6456a65214498f311bdb7d2a796567.zip
gdb-3cf62c1d5c6456a65214498f311bdb7d2a796567.tar.gz
gdb-3cf62c1d5c6456a65214498f311bdb7d2a796567.tar.bz2
* tracepoint.c (trace_save): Call the writer's start method.
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r--gdb/tracepoint.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index f5c9c49..e2b21af 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. */