aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-11-01 18:51:15 -0600
committerTom Tromey <tom@tromey.com>2017-11-04 10:27:18 -0600
commited2b3126d1828d55d57880c6b6045a4e58c05cde (patch)
tree20e7536b313e0fd676548fea0e253c2290988608 /gdb/objfiles.h
parent7f6743fd09d0f3188dd9dcdf31acf81131f9bf1f (diff)
downloadgdb-ed2b3126d1828d55d57880c6b6045a4e58c05cde.zip
gdb-ed2b3126d1828d55d57880c6b6045a4e58c05cde.tar.gz
gdb-ed2b3126d1828d55d57880c6b6045a4e58c05cde.tar.bz2
Remove make_cleanup_free_objfile
This replaces make_cleanup_free_objfile with std::unique_ptr. gdb/ChangeLog 2017-11-04 Tom Tromey <tom@tromey.com> * objfiles.c (do_free_objfile_cleanup): Remove. * compile/compile-object-load.c (compile_object_load): Update. * objfiles.h (make_cleanup_free_objfile): Remove.
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r--gdb/objfiles.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h
index 453166a..4f11756 100644
--- a/gdb/objfiles.h
+++ b/gdb/objfiles.h
@@ -479,8 +479,6 @@ extern void unlink_objfile (struct objfile *);
extern void free_objfile_separate_debug (struct objfile *);
-extern struct cleanup *make_cleanup_free_objfile (struct objfile *);
-
extern void free_all_objfiles (void);
extern void objfile_relocate (struct objfile *, const struct section_offsets *);