Introduce 'enum remove_bp_reason'
[binutils-gdb.git] / gdb / ChangeLog
index 08bc082bda03b8cf96aef0ccb36bf7499119c6f2..b18b27ac8cf1b3603b4ebadaf9edb3a83a5ce1e6 100644 (file)
@@ -1,3 +1,111 @@
+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
+       * Makefile.in (SFILES): Add
+       common/signals-state-save-restore.c.
+       (HFILES_NO_SRCDIR): Add common/signals-state-save-restore.h.
+       (COMMON_OBS): Add signals-state-save-restore.o.
+       (signals-state-save-restore.o): New rule.
+       * configure: Regenerate.
+       * fork-child.c: Include "signals-state-save-restore.h".
+       (fork_inferior): Call restore_original_signals_state.
+       * main.c: Include "signals-state-save-restore.h".
+       (captured_main): Call save_original_signals_state.
+       * common/common.m4: Add sigaction to AC_CHECK_FUNCS checks.
+       * common/signals-state-save-restore.c: New file.
+       * common/signals-state-save-restore.h: New file.
+
+2016-08-09  Pedro Alves  <palves@redhat.com>
+
+       * value.c (unpack_value_bitfield): Skip unpacking if the parent
+       has no contents buffer to begin with.
+
+2016-08-08  Pedro Alves  <palves@redhat.com>
+
+       * features/i386/amd64-avx-mpx-linux.c: Regenerate.
+       * features/i386/amd64-avx-mpx.c: Regenerate.
+       * features/i386/i386-avx-mpx-linux.c: Regenerate.
+       * features/i386/i386-avx-mpx.c: Regenerate.
+
+2016-08-05  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * event-top.h (cli_command_loop): Remove.
+
+2016-08-05  Pedro Alves  <palves@redhat.com>
+
+       PR remote/20398
+       * remote-fileio.c (remote_fileio_quit_handler): Check the quit
+       flag before calling quit.
+
+2016-08-05  Pedro Alves  <palves@redhat.com>
+
+       * NEWS: Mention that GDB and GDBserver build with a C++ compiler
+       by default.
+
 2016-08-05  Pedro Alves  <palves@redhat.com>
 
        * build-with-cxx.m4: Change help string to be in terms of