From 3cf62c1d5c6456a65214498f311bdb7d2a796567 Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Wed, 24 Apr 2013 18:22:31 +0000 Subject: [PATCH] * tracepoint.c (trace_save): Call the writer's start method. --- gdb/ChangeLog | 4 ++++ gdb/tracepoint.c | 2 ++ 2 files changed, 6 insertions(+) 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. */ -- 2.30.2