aboutsummaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-06-07 16:06:41 -0600
committerTom Tromey <tom@tromey.com>2018-06-10 07:31:22 -0600
commitd14b92bf8a7f4c57eb6c5fca559c7bbb8a747358 (patch)
tree695a939fb5a678e5413f85d44cb328c1040cde8b /cpu
parent835dcf92618e294d3c6c2bedd94af712809c96a3 (diff)
downloadgdb-d14b92bf8a7f4c57eb6c5fca559c7bbb8a747358.zip
gdb-d14b92bf8a7f4c57eb6c5fca559c7bbb8a747358.tar.gz
gdb-d14b92bf8a7f4c57eb6c5fca559c7bbb8a747358.tar.bz2
Remove cleanups from tracefile.c
This removes cleanups from tracefile.c, by introducing a unique_ptr specialization. This code could be made even simpler via a deeper C++-ification, but I have not attempted that. Tested by the buildbot. gdb/ChangeLog 2018-06-10 Tom Tromey <tom@tromey.com> * tracefile.c (struct trace_file_writer_deleter): New. <operator()>: Rename from trace_file_writer_xfree. (trace_file_writer_up): New typedef. (tsave_command, trace_save_tfile, trace_save_ctf): Update.
Diffstat (limited to 'cpu')
0 files changed, 0 insertions, 0 deletions