Remove an unlink cleanup
authorTom Tromey <tom@tromey.com>
Thu, 27 Apr 2017 04:12:50 +0000 (22:12 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 3 Aug 2017 13:58:57 +0000 (07:58 -0600)
commitb80cf838447322778f04059a1f58b78ffbbeb597
treeac787194a79cf0bf6b259dcf10e835ef3ded3baf
parentfad0444a57f4715c1afc9b0331014374e6faccb6
Remove an unlink cleanup

compile/compile.c had its own cleanup to unlink a file.  This patch
replaces this cleanup with gdb::unlinker.

ChangeLog
2017-08-03  Tom Tromey  <tom@tromey.com>

* compile/compile.c (cleanup_unlink_file): Remove.
(compile_to_object): Use gdb::unlinker.
(eval_compile_command): Likewise.
gdb/ChangeLog
gdb/compile/compile.c