aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/tracepoint.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ba963e5..cd80314 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
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. */