Remove clear_symtab_users_cleanup
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 21b72e3bcba827578cfb4183ace83d758b31da70..4f536753f1a9e6cf5919490cdda54c0528240c0b 100644 (file)
@@ -1,3 +1,23 @@
+2019-01-23  Tom Tromey  <tom@tromey.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * symfile.c: Include forward-scope-exit.h.
+       (clear_symtab_users_cleanup): Replace forward declaration with
+       a FORWARD_SCOPE_EXIT.
+       (syms_from_objfile_1): Use the forward_scope_exit and
+       gdb::optional instead of cleanup_function.
+       (reread_symbols): Use the forward_scope_exit instead of
+       cleanup_function.
+       (clear_symtab_users_cleanup): Remove function.
+
+2019-01-23  Tom Tromey  <tom@tromey.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * linux-nat.c: Include scope-exit.h.
+       (cleanup_target_stop): Remove.
+       (linux_nat_target::static_tracepoint_markers_by_strid): Use
+       SCOPE_EXIT.
+
 2019-01-23  Tom Tromey  <tom@tromey.com>
            Pedro Alves  <palves@redhat.com>
 
This page took 0.025798 seconds and 4 git commands to generate.