X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftracefile.c;h=7f1a25a2cc29ef3db50fe3c428d6846df2c1ec7b;hb=44486dcf19b62708ad49bbb6094e065a223dea99;hp=a92104bbf346aad128dddc7c6edbcc26acebc52f;hpb=0d12e84cfc9bd36b7bbda01a3c8f83f65a832398;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/tracefile.c b/gdb/tracefile.c index a92104bbf3..7f1a25a2cc 100644 --- a/gdb/tracefile.c +++ b/gdb/tracefile.c @@ -1,6 +1,6 @@ /* Trace file support in GDB. - Copyright (C) 1997-2019 Free Software Foundation, Inc. + Copyright (C) 1997-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -19,7 +19,7 @@ #include "defs.h" #include "tracefile.h" -#include "ctf.h" +#include "tracectf.h" #include "exec.h" #include "regcache.h" #include "gdbsupport/byte-vector.h" @@ -471,8 +471,9 @@ tracefile_target::get_trace_status (struct trace_status *ts) return -1; } +void _initialize_tracefile (); void -_initialize_tracefile (void) +_initialize_tracefile () { add_com ("tsave", class_trace, tsave_command, _("\ Save the trace data to a file.\n\