Introduce 'enum remove_bp_reason'
[binutils-gdb.git] / gdb / ChangeLog
index bfa131fa3c971d0a942694f9ac602222ad445083..b18b27ac8cf1b3603b4ebadaf9edb3a83a5ce1e6 100644 (file)
@@ -1,3 +1,67 @@
+2016-08-10  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/19187
+       * breakpoint.c (insertion_state_t): Delete.
+       (enum remove_bp_reason): New.
+       (detach_breakpoints, remove_breakpoint_1, remove_breakpoint):
+       Adjust to use enum remove_bp_reason instead of insertion_state_t.
+
+2016-08-10  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/19187
+       * breakpoint.c (remove_breakpoint): Remove 'is' parameter and
+       always pass mark_uninserted to remove_breakpoint_1.
+       (insert_breakpoint_locations, remove_breakpoints)
+       (remove_breakpoints_pid, update_global_location_list): Update
+       callers.
+
+2016-08-10  Руслан Ижбулатов  <lrn1986@gmail.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * windows-nat.c (MS_VC_EXCEPTION): New define.
+       (handle_exception_result): New enum.
+       (windows_delete_thread): Free the thread's name.
+       (handle_exception): Handle MS_VC_EXCEPTION.
+       (get_windows_debug_event): Handle HANDLE_EXCEPTION_IGNORED.
+       (windows_thread_name): New function.
+       (windows_target): Install it as to_thread_name method.
+       * NEWS: Mention the thread naming support on MS-Windows.
+
+2016-08-10  Pedro Alves  <palves@redhat.com>
+
+       * common/signals-state-save-restore.c
+       (save_original_signals_state, restore_original_signals_state):
+       Wrap perror_with_name arguments with '()'.
+
+2016-08-09  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/20418
+       * event-top.c (ui_register_input_event_handler)
+       (ui_unregister_input_event_handler): New functions.
+       (async_enable_stdin): Register input in the event loop.
+       (async_disable_stdin): Unregister input from the event loop.
+       (gdb_setup_readline): Register input in the event loop.
+       * infrun.c (check_curr_ui_sync_execution_done): Register input in
+       the event loop.
+       * target.c (target_terminal_inferior): Don't unregister input from
+       the event loop.
+       (target_terminal_ours): Don't register input in the event loop.
+       * target.h (target_terminal_inferior)
+       (target_terminal_ours_for_output, target_terminal_ours): Update
+       comments.
+       * top.h (ui_register_input_event_handler)
+       (ui_unregister_input_event_handler): New declarations.
+       * utils.c (ui_unregister_input_event_handler_cleanup)
+       (prepare_to_handle_input): New functions.
+       (defaulted_query, prompt_for_continue): Use
+       prepare_to_handle_input.
+
+2016-08-09  Pedro Alves  <palves@redhat.com>
+
+       PR mi/20431
+       * mi/mi-main.c (mi_execute_command): Enable input and set prompt
+       state to PROMPT_NEEDED.
+
 2016-08-09  Pedro Alves  <palves@redhat.com>
 
        PR gdb/18653