gdb: tui: Minor fix to compare against NULL.
[binutils-gdb.git] / gdb / ChangeLog
index f21b3585f66bdb5c61ff12724c495f530a26ded4..ccb5bdeff06d3012299bd961cee8fd292c276e31 100644 (file)
@@ -1,3 +1,846 @@
+2015-05-26  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * tui/tui-regs.c (tui_reg_next_command): Compare against NULL.
+
+2015-05-26  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * tui/tui-regs.c (tui_reg_prev_command): New function.
+       (_initialize_tui_regs): Add 'prev' command for 'tui reg'.
+       * reggroups.c (reggroup_prev): New function.
+       * reggroups.h (reggroup_prev): Add declaration.  Update comment.
+
+2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
+           Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-tdep.c: Include linux-record.h and
+       record-full.h.
+       (struct linux_record_tdep aarch64_linux_record_tdep): Declare.
+       (aarch64_syscall): New enum.
+       (aarch64_canonicalize_syscall): New function.
+       (aarch64_all_but_pc_registers_record): New function.
+       (aarch64_linux_syscall_record): New function.
+       (aarch64_linux_init_abi): Install AArch64 process record
+       handler.  Update to handle syscall recording.
+       * aarch64-tdep.c: Include record.h and record-full.h.
+       (submask, bit, bits, REG_ALLOC, MEM_ALLOC): New macros.
+       (struct aarch64_mem_r): Define.
+       (aarch64_record_result): New enum.
+       (struct insn_decode_record): Define.
+       (insn_decode_record): New typedef.
+       (aarch64_record_data_proc_reg): New function.
+       (aarch64_record_data_proc_imm): New function.
+       (aarch64_record_branch_except_sys): New function.
+       (aarch64_record_load_store): New function.
+       (aarch64_record_data_proc_simd_fp): New function.
+       (aarch64_record_asimd_load_store): New function.
+       (aarch64_record_decode_insn_handler): New function.
+       (deallocate_reg_mem): New function.
+       (aarch64_process_record): New function.
+       * aarch64-tdep.h (struct gdbarch_tdep) <aarch64_syscall_record>:
+       New field.
+       (aarch64_process_record): New extern declaration.
+       * configure.tgt: Add linux-record.o to gdb_target_obs.
+       * linux-record.h (struct linux_record_tdep) <arg7>: New field.
+
+2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
+
+       * NEWS: Add a note on process record-replay support on aarch64*-linux*
+       targets.
+
+2015-05-26  Martin Galvan  <martin.galvan@tallertechnologies.com>
+
+       * amd64-tdep.c: Replace in_function_epilogue_p with
+       stack_frame_destroyed_p throughout.
+       * arch-utils.c: Ditto.
+       * arch-utils.h: Ditto.
+       * arm-tdep.c: Ditto.
+       * breakpoint.c: Ditto.
+       * gdbarch.sh: Ditto.
+       * hppa-tdep.c: Ditto.
+       * i386-tdep.c: Ditto.
+       * mips-tdep.c: Ditto.
+       * nios2-tdep.c: Ditto.
+       * rs6000-tdep.c: Ditto.
+       * s390-linux-tdep.c: Ditto.
+       * score-tdep.c: Ditto.
+       * sh-tdep.c: Ditto.
+       * sparc-tdep.c: Ditto.
+       * sparc-tdep.h: Ditto.
+       * sparc64-tdep.c: Ditto.
+       * spu-tdep.c: Ditto.
+       * tic6x-tdep.c: Ditto.
+       * tilegx-tdep.c: Ditto.
+       * xstormy16-tdep.c: Ditto.
+       * gdbarch.c, gdbarch.h: Re-generated.
+
+2015-05-22  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * NEWS: Mention 'tui enable' and 'tui disable'.
+       * tui/tui.c (tui_enable_command): New function.
+       (tui_disable_command): New function.
+       (_initialize_tui): New function.
+
+2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * tui/tui-regs.c (tui_reg_next_command): Use NULL not 0.
+
+2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * tui/tui-layout.c (tui_set_layout_for_display_command): Ensure
+       buf_ptr is freed.
+
+2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * tui/tui-layout.c (tui_layout_command): Move call to tui_enable
+       into ...
+       (tui_set_layout_for_display_command): ...here, before calling
+       tui_set_layout.  Only set the layout if gdb has not already
+       entered the TUI_FAILURE state.
+
+2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * tui/tui-layout.c (layout_completer): New function.
+       (_initialize_tui_layout): Set completer on layout command.
+
+2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * tui/tui-layout.c (tui_set_layout): Remove
+       tui_register_display_type parameter.  Remove all checking of this
+       parameter, and reindent function.  Update header comment.
+       (tui_set_layout_for_display_command): Rename to...
+       (tui_set_layout_by_name): ...this, and don't check for different
+       register class types, don't pass a tui_register_display_type to
+       tui_set_layout.  Update header comment.
+       (layout_names): Remove register set specific names.
+       * tui/tui-layout.h (tui_set_layout): Remove
+       tui_register_display_type parameter.
+       * tui/tui.c (tui_rl_change_windows): Don't pass a
+       tui_register_display_type to tui_set_layout.
+       (tui_rl_delete_other_windows): Likewise.
+       (tui_enable): Likewise.
+       * tui/tui-data.h (TUI_FLOAT_REGS_NAME): Remove.
+       (TUI_FLOAT_REGS_NAME_LOWER): Remove.
+       (TUI_GENERAL_REGS_NAME): Remove.
+       (TUI_GENERAL_REGS_NAME_LOWER): Remove.
+       (TUI_SPECIAL_REGS_NAME): Remove.
+       (TUI_SPECIAL_REGS_NAME_LOWER): Remove.
+       (TUI_GENERAL_SPECIAL_REGS_NAME): Remove.
+       (TUI_GENERAL_SPECIAL_REGS_NAME_LOWER): Remove.
+       (enum tui_register_display_type): Remove.
+       (struct tui_layout_def): Remove regs_display_type and
+       float_regs_display_type fields.
+       (struct tui_data_info): Remove regs_display_type field.
+       (tui_layout_command): Use new name for
+       tui_set_layout_for_display_command.
+       * tui/tui-data.c (layout_def): Don't initialise removed fields.
+       (tui_clear_win_detail): Don't initialise removed fields of
+       win_info.
+       * tui/tui-regs.c (tui_show_registers): Use new name for
+       tui_set_layout_for_display_command.
+       * tui/tui.h (tui_set_layout_for_display_command): Rename
+       declaration to...
+       (tui_set_layout_by_name): ...this.
+       * printcmd.c (display_command): Remove tui related layout call,
+       and reindent.
+
+2015-05-20  Joel Brobecker  <brobecker@adacore.com>
+
+       * infrun.c (handle_inferior_event_1): Renames handle_inferior_event.
+       (handle_inferior_event): New function.
+
+2015-05-20  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (to_fixed_array_type): Rename local variable
+       typename into type_name.
+
+2015-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix ASAN crash for gdb.compile/compile.exp.
+       * infcall.c (call_function_by_hand_dummy): Use xstrdup for NAME.
+
+2015-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * compile/compile-c-symbols.c (convert_symbol_sym, gcc_convert_symbol)
+       (gcc_symbol_address): Change gdb_stdout to gdb_stdlog.
+       * compile/compile-object-load.c (setup_sections, compile_object_load):
+       Likewise.
+       * compile/compile.c (compile_to_object): Likewise.
+
+2015-05-16  Doug Evans  <xdje42@gmail.com>
+
+       * NEWS: Mention support for unbuffered Guile memory ports.
+       * scm-ports.c (ioscm_memory_port): Update comments on end, size.
+       (ioscm_lseek_address): Improve overflow calculation.
+       (gdbscm_memory_port_fill_input): Add assert.
+       (gdbscm_memory_port_write): Handle unbuffered ports.
+       Handle large writes identical to Guile's fport_write.
+       (gdbscm_memory_port_seek): Fix seeking past end check.
+       (gdbscm_memory_port_close): Handle closing unbuffered port.
+       (ioscm_parse_mode_bits): Recognize "0" for unbuffered ports.
+       (ioscm_init_memory_port): Handle unbuffered ports.
+       (ioscm_reinit_memory_port): Ditto.
+       (ioscm_init_memory_port): Update size calculation.
+       (gdbscm_open_memory): Support zero sized ports.
+
+2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * compile/compile-object-load.c (get_out_value_type): Fix uninitialized
+       variable compiler warnings.
+
+2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * compile/compile-object-load.c (get_out_value_type): Fix returned type.
+
+2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Phil Muldoon  <pmuldoon@redhat.com>
+
+       * NEWS (Changes since GDB 7.9): Add compile print.
+       * compile/compile-c-support.c (add_code_header, add_code_footer)
+       (c_compute_program): Add COMPILE_I_PRINT_ADDRESS_SCOPE and
+       COMPILE_I_PRINT_VALUE_SCOPE.
+       * compile/compile-internal.h (COMPILE_I_PRINT_OUT_ARG_TYPE)
+       (COMPILE_I_PRINT_OUT_ARG, COMPILE_I_EXPR_VAL, COMPILE_I_EXPR_PTR_TYPE):
+       New.
+       * compile/compile-object-load.c: Include block.h.
+       (get_out_value_type): New function.
+       (compile_object_load): Handle COMPILE_I_PRINT_ADDRESS_SCOPE and
+       COMPILE_I_PRINT_VALUE_SCOPE.  Set compile_module's OUT_VALUE_ADDR and
+       OUT_VALUE_TYPE.
+       * compile/compile-object-load.h (struct compile_module): Add fields
+       out_value_addr and out_value_type.
+       * compile/compile-object-run.c: Include valprint.h and compile.h.
+       (struct do_module_cleanup): Add fields out_value_addr and
+       out_value_type.
+       (do_module_cleanup): Handle COMPILE_I_PRINT_ADDRESS_SCOPE and
+       COMPILE_I_PRINT_VALUE_SCOPE.
+       (compile_object_run): Propagate out_value_addr and out_value_type.
+       Pass OUT_VALUE_ADDR.
+       * compile/compile.c: Include valprint.h.
+       (compile_print_value, compile_print_command): New functions.
+       (eval_compile_command): Handle failed COMPILE_I_PRINT_ADDRESS_SCOPE.
+       (_initialize_compile): Update compile code help text.  Install
+       compile_print_command.
+       * compile/compile.h (compile_print_value): New prototype.
+       * defs.h (enum compile_i_scope_types): Add
+       COMPILE_I_PRINT_ADDRESS_SCOPE and COMPILE_I_PRINT_VALUE_SCOPE.
+
+2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * compile/compile-object-load.c (get_regs_type): Add parameter func_sym.
+       Rely on its parameter count.
+       (compile_object_load): Replace lookup_minimal_symbol_text by
+       lookup_global_symbol_from_objfile.  Verify FUNC_SYM.  Set it in the
+       return value.
+       * compile/compile-object-load.h (struct compile_module): Replace
+       func_addr by func_sym.
+       * compile/compile-object-run.c: Include block.h.
+       (compile_object_run): Reset module variable after it is freed.  Use
+       FUNC_SYM instead of FUNC_ADDR.  Rely on it.
+
+2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * compile/compile-c-support.c (print_one_macro): Use #ifndef.
+       (generate_register_struct): Use __gdb_uintptr for TYPE_CODE_PTR.
+       (c_compute_program): Call generate_register_struct after typedefs.
+       * compile/compile-loc2c.c (push, pushf_register_address)
+       (pushf_register): Cast to GCC_UINTPTR.
+       (do_compile_dwarf_expr_to_c): Use unused attribute.  Add space after
+       type.  Use GCC_UINTPTR instead of void *.  Remove excessive cast.
+       (compile_dwarf_expr_to_c): Use GCC_UINTPTR instead of void *.
+       * compile/compile.c (_initialize_compile): Enable warnings for
+       COMPILE_ARGS.
+
+2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * cli/cli-script.c (execute_control_command): Update
+       eval_compile_command caller.
+       * compile/compile-object-load.c (compile_object_load): Add parameters
+       scope and scope_data.  Set them.
+       * compile/compile-object-load.h (struct compile_module): Add fields
+       scope and scope_data.
+       (compile_object_load): Add parameters scope and scope_data.
+       * compile/compile-object-run.c (struct do_module_cleanup): Add fields
+       scope and scope_data.
+       (compile_object_run): Propagate the fields scope and scope_data.
+       * compile/compile.c (compile_file_command, compile_code_command):
+       Update eval_compile_command callers.
+       (eval_compile_command): Add parameter scope_data.  Pass it plus scope.
+       * compile/compile.h (eval_compile_command): Add parameter scope_data.
+       * defs.h (struct command_line): Add field scope_data.
+
+2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * printcmd.c (struct format_data): Move it to valprint.h.
+       (print_command_parse_format, print_value): New functions from ...
+       (print_command_1): ... here.  Call them.
+       * valprint.h (struct format_data): Move it here from printcmd.c.
+       (print_command_parse_format, print_value): New declarations.
+
+2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * compile/compile-object-load.c (compile_object_load): Add
+       COMPILE_DEBUG message.
+
+2015-05-15  Jerome Guitton  <guitton@adacore.com>
+
+       * ada-lang.c (ada_value_ptr_subscript): Use enum position of
+       index to get element instead of enum value.
+       (ada_value_slice_from_ptr, ada_value_slice): Use enum position
+       of index to compute length, but enum values to compute bounds.
+       (ada_array_length): Use enum position of index instead of enum value.
+       (pos_atr): Move position computation to...
+       (ada_evaluate_subexp): Use enum values to compute bounds.
+       * gdbtypes.c (discrete_position): ...this new function.
+       * gdbtypes.h (discrete_position): New function declaration.
+       * valprint.c (val_print_array_elements): Call discrete_position
+       to handle array indexed by non-contiguous enumeration types.
+
+2015-05-15  Jerome Guitton  <guitton@adacore.com>
+
+       * ada-lang.c (find_parallel_type_by_descriptive_type):
+       Go through typedefs during lookup.
+       (to_fixed_array_type): Add support for non-bit packed arrays
+       as variable-length fields.
+
+2015-05-15  Pedro Alves  <palves@redhat.com>
+           Simon Marchi  <simon.marchi@ericsson.com>
+
+       * event-loop.c (gdb_notifier) <next_file_handler,
+       next_poll_fds_index>: New fields.
+       (get_next_file_handler_to_handle_and_advance): New function.
+       (delete_file_handler): If deleting the next file handler to
+       handle, advance to the next file handler.
+       (gdb_wait_for_event): Bail early if no event fired.  Poll file
+       handlers in round-robin fashion.
+
+2015-05-15  Pedro Alves  <palves@redhat.com>
+
+       * linux-tdep.c (linux_find_memory_regions_full): Rename local
+       'private' to 'priv'.
+
+2015-05-15  Pedro Alves  <palves@redhat.com>
+
+       * nat/linux-nat.h: Include "target/waitstatus.h".
+
+2015-05-15  Yuanhui Zhang  <asmwarrior@gmail.com>
+
+       * python/py-unwind.c (struct reg_info): Move out of ...
+       (struct cached_frame_info): ... this scope.
+       (pending_frame_object_type, unwind_info_object_type): Make extern.
+
+2015-05-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_value_primitive_packed_val): Make sure
+       accumSize is never negative.
+
+2015-05-14  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * tui/tui-command.c: Remove include of <ctype.h>.
+       (tui_dispatch_ctrl_char): Remove workaround for xterm terminals.
+
+2015-05-13  Martin Galvan  <martin.galvan@tallertechnologies.com>
+
+       * dwarf2read.c (die_needs_namespace): Return 1 for
+       DW_TAG_inlined_subroutine.
+
+2015-05-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * regcache.c (regcache_cpy_no_passthrough): New declaration.
+       (regcache_cpy_no_passthrough): Make it static, add function comment.
+       * regcache.h (regcache_dup, regcache_cpy): Reduce/update their comment.
+       (regcache_cpy_no_passthrough): Remove declaration.
+
+2015-05-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdbthread.h (struct thread_control_state): Update comment for
+       proceed_to_finish.
+       * infcall.c (run_inferior_call): Update comment about
+       proceed_to_finish.
+       * infcmd.c (get_return_value): Update comment about stop_registers.
+       (finish_forward): Update comment about proceed_to_finish.
+       * infrun.c (stop_registers): Remove.
+       (clear_proceed_status, normal_stop): Remove stop_registers handling.
+       * infrun.h (stop_registers): Remove.
+
+2015-05-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * infcall.c (struct dummy_frame_context_saver)
+       (dummy_frame_context_saver_data_free, dummy_frame_context_saver_dtor)
+       (dummy_frame_context_saver_drop, dummy_frame_context_saver_cleanup)
+       (dummy_frame_context_saver_get_regs, dummy_frame_context_saver_setup):
+       New.
+       (call_function_by_hand_dummy): Move discard_cleanups of
+       inf_status_cleanup before dummy_frame_push.  Call
+       dummy_frame_context_saver_setup and prepare context_saver_cleanup.
+       Use dummy_frame_context_saver_get_regs instead of stop_registers.
+       * infcall.h (struct dummy_frame_context_saver)
+       (dummy_frame_context_saver_drop, dummy_frame_context_saver_cleanup)
+       (dummy_frame_context_saver_get_regs, dummy_frame_context_saver_setup):
+       New declarations.
+       * infcmd.c: Include infcall.h.
+       (get_return_value): Add parameter ctx_saver, use it instead of
+       stop_registers.
+       (print_return_value): Add parameter ctx_saver, pass it.
+       (struct finish_command_continuation_args): Add field ctx_saver.
+       (finish_command_continuation): Update print_return_value caller.
+       (finish_command_continuation_free_arg): Free also ctx_saver.
+       (finish_forward): Call dummy_frame_context_saver_setup.
+       * inferior.h (struct dummy_frame_context_saver): New declaration.
+       (get_return_value): Add parameter ctx_saver.
+       * python/py-finishbreakpoint.c (bpfinishpy_pre_stop_hook): Update
+       get_return_value caller.
+
+2015-05-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dummy-frame.c (struct dummy_frame_dtor_list): New.
+       (struct dummy_frame): Replace dtor and dtor_data by dtor_list.
+       (remove_dummy_frame): Process dtor_list.
+       (pop_dummy_frame): Process dtor_list.
+       (register_dummy_frame_dtor): Maintain dtor_list.
+       (find_dummy_frame_dtor): Handle dtor_list.
+       * dummy-frame.h (register_dummy_frame_dtor, find_dummy_frame_dtor):
+       Update comments.
+
+2015-05-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * compile/compile-object-run.c (do_module_cleanup): Add parameter
+       registers_valid.
+       (compile_object_run): Update do_module_cleanup caller.
+       * dummy-frame.c: Include infcall.h.
+       (struct dummy_frame): Update dtor comment.
+       (remove_dummy_frame): Call dtor.
+       (pop_dummy_frame): Update dtor caller.
+       * dummy-frame.h (dummy_frame_dtor_ftype): Add parameter
+       registers_valid.
+
+2015-05-13  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 7.9.1 released.
+
+2015-05-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * NEWS: Create "Changes in GDB 7.9.1" section.  Move news about
+       Xmethods now being able to specify a result type to that new
+       sectioin.
+
+2015-05-13  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * tui/tui-win.c (tui_async_resize_screen): Clear win_resized
+       first before resizing the window.
+       * tui/tui.c (tui_enable): Likewise.
+
+2015-05-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dummy-frame.c (struct dummy_frame): Use proper typedef for dtor.
+       * dummy-frame.h (dummy_frame_dtor_ftype): Add its comment.
+       * infcall.c (call_function_by_hand_dummy): Use proper typedef for
+       dummy_dtor parameter.
+       * infcall.h: Include dummy-frame.h.
+       (call_function_by_hand_dummy_dtor_ftype): Remove.
+       (call_function_by_hand_dummy): Use proper typedef for dummy_dtor
+       parameter.
+
+2015-05-13  Patrick Palka  <patrick@parcs.ath.cx>
+
+       PR gdb/17820
+       * top.c (history_size_setshow_var): Change type to signed.
+       Initialize to -2.  Update documentation.
+       (set_readline_history_size): Define.
+       (set_history_size_command): Use it.  Remove logic for handling
+       out-of-range sizes.
+       (init_history): Use set_readline_history_size().  Test for a
+       value of -2 instead of 0 when determining whether to set a
+       default history size.
+       (init_main): Decode the argument of the "size" command as a
+       zuinteger_unlimited.
+
+2015-05-12  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (struct file_entry): Tweak comments.
+       (get_debug_line_section): Tweak comments.
+
+2015-05-12  Don Breazeal  <donb@codesourcery.com>
+
+       * NEWS: Announce fork support in the RSP and support
+       for fork debugging in extended mode.
+
+2015-05-12  Don Breazeal  <donb@codesourcery.com>
+
+       * remote.c (remote_insert_fork_catchpoint): New function.
+       (remote_remove_fork_catchpoint): New function.
+       (remote_insert_vfork_catchpoint): New function.
+       (remote_remove_vfork_catchpoint): New function.
+       (pending_fork_parent_callback): New function.
+       (remove_new_fork_child): New function.
+       (remote_update_thread_list): Call remote_notif_get_pending_events
+       and remove_new_fork_child.
+       (extended_remote_kill): Kill fork child when killing the
+       parent before follow_fork completes.
+       (init_extended_remote_ops): Initialize target vector with
+       new fork catchpoint functions.
+
+2015-05-12  Don Breazeal  <donb@codesourcery.com>
+
+       * remote.c (remove_vfork_event_p): New function.
+       (remote_follow_fork): Add vfork event type to event checking.
+       (remote_parse_stop_reply): New stop reasons "vfork" and
+       "vforkdone" for RSP 'T' Stop Reply Packet.
+
+2015-05-12  Don Breazeal  <donb@codesourcery.com>
+
+       * linux-nat.c (linux_nat_ptrace_options): New function.
+       (linux_init_ptrace, wait_lwp, linux_nat_filter_event):
+       Call linux_nat_ptrace_options and use different argument to
+       linux_enable_event_reporting.
+       (_initialize_linux_nat): Delete call to
+       linux_ptrace_set_additional_flags.
+       * nat/linux-ptrace.c (current_ptrace_options): Rename to 
+       supported_ptrace_options.
+       (additional_flags): Delete variable.
+       (linux_check_ptrace_features): Use supported_ptrace_options.
+       (linux_test_for_tracesysgood, linux_test_for_tracefork):
+       Likewise, and remove additional_flags check.
+       (linux_enable_event_reporting): Change 'attached' argument to
+       'options'.  Use supported_ptrace_options.
+       (ptrace_supports_feature): Change comment.  Use 
+       supported_ptrace_options.
+       (linux_ptrace_set_additional_flags): Delete function.
+       * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
+       Delete function prototype.
+       * remote.c (remote_fork_event_p): New function.
+       (remote_detach_pid): New function.
+       (remote_detach_1): Call remote_detach_pid, don't mourn inferior
+       if doing detach-on-fork.
+       (remote_follow_fork): New function.
+       (remote_parse_stop_reply): Handle new "T" stop reason "fork".
+       (remote_pid_to_str): Print "process" strings for pid/0/0 ptids.
+       (init_extended_remote_ops): Initialize to_follow_fork.
+
+2015-05-12  Don Breazeal  <donb@codesourcery.com>
+
+       * nat/linux-ptrace.c (linux_check_ptrace_features): Change
+       from static to extern.
+       * nat/linux-ptrace.h (linux_check_ptrace_features): Declare.
+       * remote.c (anonymous enum): <PACKET_fork_event_feature,
+       * PACKET_vfork_event_feature>: New enumeration constants.
+       (remote_protocol_features): Add table entries for new packets.
+       (remote_query_supported): Add new feature queries to qSupported
+       packet.
+
+2015-05-12  Gary Benson <gbenson@redhat.com>
+
+       * remote.c (remote_add_inferior): Call exec_file_locate_attach
+       for fake PIDs as well as real ones.
+       (remote_pid_to_exec_file): Send empty annex if PID is fake.
+
+2015-05-09  Siva Chandra Reddy  <sivachandra@google.com>
+
+       * NEWS (Python Scripting): Mention the new gdb.Value methods.
+       * python/py-value.c (valpy_reference_value): New function.
+       (valpy_const_value): Likewise.
+       (value_object_methods): Add new methods.
+       * value.c (make_cv_value): New function.
+       * value.h (make_cv_value): Declare.
+
+2015-05-08  Yao Qi  <yao@codesourcery.com>
+           Sandra Loosemore  <sandra@codesourcery.com>
+
+       * dwarf2read.c (setup_type_unit_groups): Do NULL pointer check
+       to 'lh->include_dirs' before accessing to it.
+       (psymtab_include_file_name): Likewise.
+       (dwarf_decode_lines_1): Likewise.
+       (dwarf_decode_lines): Likewise.
+       (file_file_name): Likewise.
+
+2015-05-08  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * nios2-linux-tdep.c (NIOS2_SIGRETURN_TRAMP_ADDR): Define.
+       (NIOS2_SIGRETURN_REGSAVE_OFFSET): Define.
+       (nios2_linux_rt_sigreturn_init): Adjust base address of
+       register save area.
+
+2015-05-08  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * nios2-tdep.c (nios2_breakpoint_from_pc): Revert to using
+       "trap 31" as the breakpoint instruction on all targets.
+
+2015-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * infcmd.c (print_return_value): Remove unused declaration.
+
+2015-05-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * dwarf2read.c (attr_to_dynamic_prop)
+       <DW_AT_data_member_location>: Use read_type_die isntead of
+       get_die_type.
+
+2015-05-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_convert_actual): Add handling of formals
+       passed inside an aligner type.
+
+2015-05-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * copyright.py (NOT_FSF_LIST): Remove sim/erc32 entries.
+
+2015-05-08  Siva Chandra Reddy  <sivachandra@google.com>
+
+       PR python/18291
+       * python/lib/gdb/command/xmethods.py (print_xm_info): Fix typo.
+       Print xmethod matcher status.
+
+2015-05-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * s390-linux-nat.c (fill_gregset): Avoid relying on the PSWA
+       register in the regcache when treating the PSWM register, and vice
+       versa.
+
+2015-05-07  Gary Benson <gbenson@redhat.com>
+
+       * linux-thread-db.c (struct thread_db_info)
+       <td_ta_map_id2thr_p>: Remove field.
+       (try_thread_db_load_1): Remove initialization for the above.
+
+2015-05-07  Gary Benson <gbenson@redhat.com>
+
+       * linux-thread-db.c (struct thread_db_info)
+       <td_thr_validate_p>: Remove field.
+       (try_thread_db_load_1): Remove initialization for the above.
+
+2015-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * compile/compile-object-load.c (compile_object_load): Support
+       mst_text_gnu_ifunc.
+
+2015-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * compile/compile.c (compile_to_object): Make the cmd_string parameter
+       const.  Use new variables for the const compatibility.
+       (eval_compile_command): Make the cmd_string parameter const.
+       * compile/compile.h (eval_compile_command): Make the cmd_string
+       parameter const.
+
+2015-05-06  Joel Brobecker  <brobecker@adacore.com>
+
+       * defs.h (deprecated_init_ui_hook): Delete.  Remove associated
+       comment.
+       * top.c (deprecated_init_ui_hook): Delete.
+       (gdb_init): Remove handling of deprecated_init_ui_hook.
+       * interps.c (clear_interpreter_hooks): Remove handling of
+       deprecated_init_ui_hook.
+       * main.c (captured_main): Update comment.
+
+2015-05-06  Joel Brobecker  <brobecker@adacore.com>
+
+       * solib.c (_initialize_solib): Add "info dll" alias creation.
+       * windows-nat.c (set_windows_aliases): Delete.
+       (_initialize_windows_nat): Remove deprecated_init_ui_hook
+       assignment.
+       * NEWS: Add news entry about "info dll" now being available
+       on all platforms.
+
+2015-05-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (value_assign_to_component): Reformat and improve
+       documentation. Remove all trailing spaces.
+
+2015-05-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
+       Stop counting inlined frames as soon as an out-of-line function
+       is found.
+
+2014-05-05  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * dwarf2read.c (inherit_abstract_dies): Skip
+       DW_TAG_GNU_call_site dies while inheriting children of an
+       abstract DIE into a scope.
+       (read_lexical_block_scope): Inherit abstract DIE's for
+       lexical scopes.
+
+2015-05-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-valprint.c (val_print_packed_array_elements): Delete
+       variable "len".  Add a type-length check when comparing two
+       consecutive elements of the array.  Use the element's actual
+       length in call to value_contents_eq.
+       * ada-lang.c (ada_value_primitive_packed_val): Always return
+       a value whose type has been resolved.
+
+2015-05-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_value_primitive_packed_val): Recompute
+       BIT_SIZE and LEN if the size of the resolved type is smaller
+       than BIT_SIZE * HOST_CHAR_BIT.
+
+2015-05-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_value_primitive_packed_val): Use a more
+       correct address in call to value_at.  Adjust call to
+       value_address accordingly.
+
+2015-05-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-valprint.c (ada_val_print_1): Resolve TYPE before trying
+       to print it.
+
+2015-05-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * dwarf2loc.h (struct property_addr_info): Add "valaddr" field.
+       * dwarf2loc.c (dwarf2_evaluate_property): Add handling of
+       pinfo->valaddr.
+       * gdbtypes.h (resolve_dynamic_type): Add "valaddr" parameter.
+       * gdbtypes.c (resolve_dynamic_struct): Set pinfo.valaddr.
+       (resolve_dynamic_type_internal): Set pinfo.valaddr.
+       Add handling of addr_stack->valaddr.
+       (resolve_dynamic_type): Add "valaddr" parameter.
+       Set pinfo.valaddr field.
+       * ada-lang.c (ada_discrete_type_high_bound): Update call to
+       resolve_dynamic_type.
+       (ada_discrete_type_low_bound): Likewise.
+       * findvar.c (default_read_var_value): Likewise.
+       * value.c (value_from_contents_and_address): Likewise.
+
+2015-05-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbtypes.c (resolve_dynamic_array): Use
+       create_array_type_with_stride instead of create_array_type.
+
+2015-04-30  DJ Delorie  <dj@redhat.com>
+
+       * rl78-tdep.c (rl78_analyze_prologue): Pass RL78_ISA_DEFAULT to
+       rl78_decode_opcode
+
+2015-04-29  Doug Evans  <dje@google.com>
+
+       PR python/18285
+       * NEWS: Document new gdb.XMethodWorker.get_result_type method.
+       * eval.c (evaluate_subexp_standard) <OP_FUNCALL>: Handle
+       EVAL_AVOID_SIDE_EFFECTS for xmethods.
+       * extension-priv.h (struct extension_language_ops)
+       <get_xmethod_result_type>: New member.
+       * extension.c (get_xmethod_result_type): New function.
+       * extension.h (get_xmethod_result_type): Declare.
+       * python/py-xmethods.c (get_result_type_method_name): New static
+       global.
+       (py_get_result_type_method_name): Ditto.
+       (gdbpy_get_xmethod_result_type): New function.
+       (gdbpy_initialize_xmethods): Initialize py_get_result_type_method_name.
+       * python/python-internal.h (gdbpy_get_xmethod_result_type): Declare.
+       * python/python.c (python_extension_ops): Add
+       gdbpy_get_xmethod_result_type.
+       * python/lib/gdb/xmethod.py (XMethodWorker): Add get_result_type.
+       * valarith.c (value_x_binop): Handle EVAL_AVOID_SIDE_EFFECTS for
+       xmethods.
+       (value_x_unop): Ditto.
+       * value.c (result_type_of_xmethod): New function.
+       * value.h (result_type_of_xmethod): Declare.
+
+2015-04-29  Gary Benson <gbenson@redhat.com>
+
+       * solib.c (solib_find_1): Allow fd argument to be NULL.
+       (exec_file_find): Update comment.
+       (solib_find): Likewise.
+       * exec.c (exec_file_locate_attach): Use NULL as fd
+       argument to exec_file_find to avoid having to close
+       the opened file.
+       * infrun.c (follow_exec): Likewise.
+
+2015-04-28  Doug Evans  <dje@google.com>
+
+       PR python/18299
+       * python/lib/gdb/printing.py (register_pretty_printer): Handle
+       name or __name__ attributes.  Handle gdb module as first argument.
+
+2015-04-28  Doug Evans  <dje@google.com>
+
+       PR python/18089
+       * python/py-prettyprint.c (print_children): Verify result of children
+       iterator.  Provide better error message.
+       * python/python-internal..h (gdbpy_print_python_errors_p): Declare.
+       * python/python.c (gdbpy_print_python_errors_p): New function.
+
+2015-04-28  Doug Evans  <dje@google.com>
+
+       * gdbtypes.h (struct cplus_struct_type) <n_baseclasses>: Fix comment.
+
+2015-04-28  Sasha Smundak  <asmundak@google.com>
+
+       * NEWS: Mention gdb.Type.optimized_out method.
+       * python/py-type.c (typy_optimized_out):  New function.
+
+2015-04-28  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
+
+2015-04-28  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * utils.c (init_page_info): Set rl_catch_sigwinch to zero.
+       (initialize_utils): Move call of init_page_info() to ...
+       * top.c (gdb_init): ... here.
+
+2015-04-28  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * tui/tui-win.c (tui_sigwinch_handler): Remove now-stale comment.
+       (tui_sigwinch_handler): Still update our idea of
+       the terminal's width and height even when TUI is not active.
+
+2015-04-28  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * utils.h (set_screen_width_and_height): Declare.
+       * utils.c (set_screen_width_and_height): Define.
+       * tui/tui-win.c (tui_update_gdb_sizes): Use it.
+
+2015-04-28  Gary Benson <gbenson@redhat.com>
+
+       * infrun.c (solist.h): New include.
+       (follow_exec): Use exec_file_find to prefix execd_pathname
+       with gdb_sysroot.
+
+2015-04-28  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * tui/tui-source.c (tui_set_source_content): Avoid calling
+       strcpy() when offset is 0.
+
+2015-04-28  Patrick Palka  <patrick@parcs.ath.cx>
+
+       PR gdb/18155
+       * tui/tui-data.c (tui_free_window): Don't free the locator
+       window when passed an SRC_WIN or a DISASSEM_WIN.
+
+2015-04-28  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * tui/tui-data.h (struct tui_win_element): Forward-declare.
+       (tui_win_content): Move declaration.
+       (struct tui_gen_win_info): Give 'content' field the
+       type tui_win_content.
+       * tui/tui-data.c (init_content_element): Remove redundant and
+       erroneous casts.
+       (tui_add_content_elements): Remove erroneous cast.
+       * tui/tui-disasm.c (tui_set_disassem_content): Remove redundant
+       casts.
+       (tui_get_begin_asm_address): Likewise.
+       * tui/tui-regs.c (tui_show_registers): Likewise.
+       (tui_show_register_group): Likewise.
+       (tui_display_registers_from): Likewise.
+       (tui_check_register_values): Likewise.
+       * tui/tui-source.c (tui_set_source_content): Likewise.
+       (tui_set_source_content_nil): Likewise.
+       (tui_source_is_displayed): Likewise.
+       * tui/tui-stack.c (tui_show_locator_content): Likewise.
+       (tui_set_locator_fullname): Likewise.
+       (tui_set_locator_info): Likewise.
+       (tui_show_frame_info): Likewise.
+       * tui/tui-winsource.c (tui_clear_source_content): Likewise.
+       (tui_show_source_line): Likewise.
+       (tui_horizontal_source_scroll): Likewise.
+       (tui_update_breakpoint_info): Likewise.
+       (tui_set_exec_info_content): Likewise.
+       (tui_show_exec_info_content): Likewise.
+       (tui_alloc_source_buffer): Likewise.
+       (tui_line_is_displayed): Likewise.
+       (tui_addr_is_displayed): Likewise.
+
 2015-04-27  John Baldwin  <jhb@FreeBSD.org>
 
        * fbsd-nat.c: (fbsd_wait) [PL_FLAG_EXEC]: Report TARGET_WAITKIND_EXECD