Remove clear_symtab_users_cleanup
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index f302fc4a82ebb27bc362dcc26c8d21a4e6505caa..4f536753f1a9e6cf5919490cdda54c0528240c0b 100644 (file)
@@ -1,3 +1,86 @@
+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>
+
+       * infcall.c (cleanup_delete_std_terminate_breakpoint): Remove.
+       (call_function_by_hand_dummy): Use SCOPE_EXIT.
+
+2019-01-23  Tom Tromey  <tom@tromey.com>
+           Andrew Burgess  <andrew.burgess@embecosm.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (fetch_inferior_event): Use scope_exit.
+       * utils.h (make_bpstat_clear_actions_cleanup): Don't declare.
+       * top.c (execute_command): Use scope_exit.
+       * breakpoint.c (bpstat_do_actions): Use scope_exit.
+       * utils.c (do_bpstat_clear_actions_cleanup)
+       (make_bpstat_clear_actions_cleanup): Remove.
+
+2019-01-23  Tom Tromey  <tom@tromey.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * infrun.c: Include "common/scope-exit.h"
+       (delete_just_stopped_threads_infrun_breakpoints_cleanup): Remove.
+       (wait_for_inferior): Use SCOPE_EXIT.
+       (fetch_inferior_event): Use scope_exit.
+
+2019-01-23  Tom Tromey  <tom@tromey.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c (create_breakpoint): Remove cleanup.
+
+2019-01-23  Tom Tromey  <tom@tromey.com>
+           Andrew Burgess  <andrew.burgess@embecosm.com>
+           Pedro Alves  <palves@redhat.com>
+
+2019-01-23  Pedro Alves  <palves@redhat.com>
+
+       * gdbarch-selftests.c (struct on_exit): Use SCOPE_EXIT.
+
+2019-01-23  Pedro Alves  <palves@redhat.com>
+           Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdbthread.h: Include "common/forward-scope-exit.h".
+       (scoped_finish_thread_state): Redefine custom class in terms of
+       forward_scope_exit.
+
+2019-01-23  Pedro Alves  <palves@redhat.com>
+           Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * common/forward-scope-exit.h: New file.
+
+2019-01-23  Pedro Alves  <palves@redhat.com>
+           Andrew Burgess  <andrew.burgess@embecosm.com>
+           Tom Tromey  <tom@tromey.com>
+
+       * common/scope-exit.h: New file.
+
+2019-01-23  Pedro Alves  <palves@redhat.com>
+
+       * common/preprocessor.h (ESC): Rename to ...
+       (ESC_PARENS): ... this.
+       * common/valid-expr.h (CHECK_VALID_EXPR_1, CHECK_VALID_EXPR_2)
+       (CHECK_VALID_EXPR_3, CHECK_VALID_EXPR_4): Adjust.
+
 2019-01-23  Tom Tromey  <tom@tromey.com>
 
        * language.h (class scoped_switch_to_sym_language_if_auto):
This page took 0.027474 seconds and 4 git commands to generate.