Introduce 'enum remove_bp_reason'
[binutils-gdb.git] / gdb / ChangeLog
index 3a5e8707a3c5efe2fd2ad0901ce72af9b592d94d..b18b27ac8cf1b3603b4ebadaf9edb3a83a5ce1e6 100644 (file)
@@ -1,3 +1,192 @@
+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
+       --disable-build-with-cxx.
+       * configure: Regenerate.
+
+2016-08-04  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-nat.c (tdesc_arm_with_vfpv3): Remove the
+       declaration.
+       (aarch64_linux_read_description): Remove code on getting
+       auxv and select target description on it.  Select target
+       description by the result of NT_ARM_VFP ptrace request.
+
+2016-08-03  Tom Tromey  <tom@tromey.com>
+
+       PR python/18565:
+       * python/py-frame.c (frapy_function): Use find_frame_funname.
+
+2016-08-03  Tom Tromey  <tom@tromey.com>
+
+       * stack.c (find_frame_funname): Avoid any possible leak in case
+       cp_remove_params can throw.
+
+2016-08-03  Tom Tromey  <tom@tromey.com>
+
+       * NEWS: Mention new Python breakpoint events.
+
+2016-08-02  Tom Tromey  <tom@tromey.com>
+
+       * MAINTAINERS (Core): Add self as Rust maintainer.
+
+2016-08-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * NEWS: Create a new section for the next release branch.
+       Rename the section of the current branch, now that it has
+       been cut.
+
+2016-08-01  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 7.12 branch created (41bfcd638a4e0e48b96ce4de2845372dea481322):
+       * version.in: Bump version to 7.12.50.DATE-git.
+
+2016-07-27  Alan Modra  <amodra@gmail.com>
+
+       * amd64-darwin-tdep.c: Don't include libbfd.h.
+       * i386-darwin-tdep.c: Likewise.
+       * rs6000-nat.c: Likewise.
+       * rs6000-tdep.c: Likewise.
+
+2016-07-26  Tom Tromey  <tom@tromey.com>
+
+       * symtab.c (register_symbol_computed_impl): Update.
+       PR python/20190:
+       * value.h (symbol_read_needs): Declare.
+       (symbol_read_needs_frame): Add comment.
+       * symtab.h (struct symbol_computed_ops) <read_variable>: Update
+       comment.
+       <get_symbol_read_needs>: Rename.  Change return type.
+       * findvar.c (symbol_read_needs): New function.
+       (symbol_read_needs_frame): Rewrite.
+       (default_read_var_value): Use symbol_read_needs.
+       * dwarf2loc.c (struct symbol_needs_baton): Rename.
+       <needs>: Renamed from needs_frame.  Changed type.
+       (needs_frame_read_addr_from_reg, symbol_needs_get_reg_value)
+       (symbol_needs_read_mem, symbol_needs_frame_base)
+       (symbol_needs_frame_cfa, symbol_needs_tls_address)
+       (symbol_needs_dwarf_call): Rename.
+       (needs_dwarf_reg_entry_value): Update.
+       (symbol_needs_ctx_funcs, dwarf2_loc_desc_get_symbol_read_needs):
+       Rename and update.
+       (locexpr_get_symbol_read_needs, loclist_symbol_needs): Likewise.
+       (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Update.
+       * defs.h (enum symbol_needs_kind): New.
+
+2016-07-26  Pedro Alves  <palves@redhat.com>
+
+       * nat/linux-ptrace.c: Include "gregset.h".
+       (linux_ptrace_test_ret_to_nx): Use PTRACE_GETREGS instead of
+       PTRACE_PEEKUSER.
+
 2016-07-26  Pedro Alves  <palves@redhat.com>
 
        * amd64-linux-nat.c (amd64_linux_siginfo_fixup): Rename 'native'