Disable readline's SIGWINCH handler
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 1cd95c478c139fe7a01986e70c1442d8581a3022..7d0e7e95636539aee8735caf3491397baccf4e94 100644 (file)
@@ -1,3 +1,422 @@
+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
+       event if PL_FLAG_EXEC is set.
+       [PL_FLAG_EXEC] (fbsd_insert_exec_catchpoint): New function.
+       [PL_FLAG_EXEC] (fbsd_remove_exec_catchpoint): New function.
+       (fbsd_nat_add_target) [PL_FLAG_EXEC]: Set
+       "to_insert_exec_catchpoint" to "fbsd_insert_exec_catchpoint".
+       Set "to_remove_exec_catchpoint" to "fbsd_remove_exec_catchpoint".
+
+2015-04-27  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-nat.c: [PT_LWPINFO] New variable super_wait.
+       [TDP_RFPPWAIT] New variable fbsd_pending_children.
+       [TDP_RFPPWAIT] (fbsd_remember_child): New function.
+       [TDP_RFPPWAIT] (fbsd_is_child_pending): New function.
+       [TDP_RFPPWAIT] (fbsd_fetch_kinfo_proc): New function.
+       [PT_LWPINFO] (fbsd_wait): New function.
+       [TDP_RFPPWAIT] (fbsd_follow_fork): New function.
+       [TDP_RFPPWAIT] (fbsd_insert_fork_catchpoint): New function.
+       [TDP_RFPPWAIT] (fbsd_remove_fork_catchpoint): New function.
+       [TDP_RFPPWAIT] (fbsd_insert_vfork_catchpoint): New function.
+       [TDP_RFPPWAIT] (fbsd_remove_vfork_catchpoint): New function.
+       [TDP_RFPPWAIT] (fbsd_enable_follow_fork): New function.
+       [TDP_RFPPWAIT] (fbsd_post_startup_inferior): New function.
+       [TDP_RFPPWAIT] (fbsd_post_attach): New function.
+       (fbsd_nat_add_target) [PT_LWPINFO] Set "to_wait" to
+       "fbsd_wait".
+       [TDP_RFPPWAIT] Set "to_follow_fork" to "fbsd_follow_fork".
+       Set "to_insert_fork_catchpoint" to "fbsd_insert_fork_catchpoint".
+       Set "to_remove_fork_catchpoint" to "fbsd_remove_fork_catchpoint".
+       Set "to_insert_vfork_catchpoint" to "fbsd_insert_vfork_catchpoint".
+       Set "to_remove_vfork_catchpoint" to "fbsd_remove_vfork_catchpoint".
+       Set "to_post_startup_inferior" to "fbsd_post_startup_inferior".
+       Set "to_post_attach" to "fbsd_post_attach".
+
+2015-04-27  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-nat.c (fbsd_pid_to_exec_file): Mark static.
+       (fbsd_find_memory_regions): Mark static.
+       (fbsd_nat_add_target): New function.
+       * fbsd-nat.h: Export fbsd_nat_add_target and remove prototypes for
+       fbsd_pid_to_exec_file and fbsd_find_memory_regions.
+       * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Use fbsd_nat_add_target.
+       * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise.
+       * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Likewise.
+       * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Likewise.
+
+2015-04-27  Gary Benson <gbenson@redhat.com>
+
+       * objfiles.c (allocate_objfile): Do not attempt to expand name
+       if name is a "target:" filename.
+       * auto-load.c (load_auto_scripts_for_objfile): Do not attempt
+       to load auto-load scripts for objfiles with "target:" filenames.
+
+2015-04-27  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * s390-linux-tdep.c: Include "elf/s390.h" and "elf-bfd.h".
+       (enum s390_vector_abi_kind): New enum.
+       (struct gdbarch_tdep)<vector_abi>: New field.
+       (s390_effective_inner_type): Add parameter min_size.  Stop
+       unwrapping if the inner type is smaller than min_size.
+       (s390_function_arg_float): Adjust call to
+       s390_effective_inner_type.
+       (s390_function_arg_vector): New function.
+       (s390_function_arg_integer): Adjust comment.
+       (struct s390_arg_state)<vr>: New field.
+       (s390_handle_arg): Add parameter 'is_unnamed'.  Pass vector
+       arguments according to vector ABI when appropriate.
+       (s390_push_dummy_call): Initialize the argument state's field
+       'vr'.  Adjust calls to s390_handle_arg.
+       (s390_register_return_value): Handle vector return values.
+       (s390_return_value): Apply the "register" return value convention
+       to a vector when appropriate.
+       (s390_gdbarch_init): Initialize tdep->vector_abi.
+       * NEWS: Announce S390 vector ABI support.
+
+2015-04-27  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * s390-linux-tdep.c (s390_return_value_convention): Remove
+       function.  Inline its logic...
+       (s390_return_value): ...here.  Instead, move the handling of the
+       "register" return value convention...
+       (s390_register_return_value): ...here.  New function.
+
+2015-04-27  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * s390-linux-tdep.c
+       (is_float_singleton): Remove function.  Move the "singleton" part
+       of the logic...
+       (s390_effective_inner_type): ...here.  New function.
+       (is_float_like): Remove function.  Inline its logic...
+       (s390_function_arg_float): ...here.
+       (is_pointer_like, is_integer_like, is_struct_like): Remove
+       functions.  Inline their logic...
+       (s390_function_arg_integer): ...here.
+       (s390_function_arg_pass_by_reference): Remove function.
+       (extend_simple_arg): Remove function.
+       (alignment_of): Remove function.
+       (struct s390_arg_state): New structure.
+       (s390_handle_arg): New function.
+       (s390_push_dummy_call): Move parameter placement logic to the new
+       function s390_handle_arg.  Call it for calculating the stack area
+       sizes first, and again for actually writing the parameters.
+
+2015-04-27  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * s390-linux-tdep.c (is_power_of_two): Add comment.  Return
+         false if the argument is zero.
+
+2015-04-27  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * ada-lang.c (template_to_static_fixed_type): Return input type
+       when it is already fixed.  Cache the input type itself when not
+       creating a static fixed copy.  Make it explicit that we never
+       molestate the input type.
+       * gdbtypes.c (resolve_dynamic_struct): Reset the
+       TYPE_TARGET_TYPE field for resolved copies.
+
+2015-04-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_is_tagged_type): Add call to ada_check_typedef.
+       (ada_lookup_struct_elt_type): Remove calls to ada_check_typedef.
+       (template_to_static_fixed_type): Call ada_check_typedef only
+       when necessary.
+
+2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * cli/cli-dump.c (srec_dump_command): Add internationalization
+       mark ups.
+       (ihex_dump_command): Likewise.
+       (tekhex_dump_command): Likewise.
+       (binary_dump_command): Likewise.
+       (binary_append_command): Likewise.
+
+2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * cli/cli-dump.c (verilog_cmdlist): New variable.
+       (dump_verilog_memory): New function.
+       (dump_verilog_value): New function.
+       (verilog_dump_command): New function.
+       (_initialize_cli_dump): Add new commands to support verilog dump
+       format.
+       * NEWS: Add entry for "dump verilog".
+
+2015-04-24  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * gdbtypes.c (print_gnat_stuff): Do not recurse on the
+       descriptive type when there is none.
+
+2015-04-23  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * tui/tui-win.c (tui_async_resize_screen): Call
+       rl_resize_terminal().
+
+2015-04-22  Jon Turney  <jon.turney@dronecode.org.uk>
+
+       * windows-nat.c (handle_output_debug_string): Don't change
+       current_event.dwThreadId.
+       (get_windows_debug_event): Use thread_id, rather than relying on
+       current_event.dwThreadId being changed.
+
+2015-04-22  Jon Turney  <jon.turney@dronecode.org.uk>
+
+       * windows-nat.c (windows_continue): Report an error if
+       ContinueDebugEvent() fails.
+
+2015-04-16  Jon Turney  <jon.turney@dronecode.org.uk>
+
+       * windows-nat.c (windows_resume): Fix misspelling in debug output.
+
+2015-04-16  Jon Turney  <jon.turney@dronecode.org.uk>
+
+       * windows-nat.c (get_windows_debug_event): Replace retval with
+       thread_id throughout.  Update stale comment.
+
+2015-04-16  Jon Turney  <jon.turney@dronecode.org.uk>
+
+       * windows-nat.c (get_windows_debug_event): Don't use ternary
+       conditional operator.
+
+2015-04-21  Pierre Muller  <muller@sourceware.org>
+
+       PR pascal/17815
+       p-exp.y (yylex): Reorganize code to return the matched pattern
+       for a field of this.
+
+2015-04-21  Gary Benson <gbenson@redhat.com>
+
+       * common/fileio.h (fileio_to_host_openflags): New declaration.
+       * common/fileio.c (fcntl.h): New include.
+       (fileio_to_host_openflags): New function, factored out from...
+       * inf-child.c (inf_child_fileio_open_flags_to_host): ...here.
+       Single use updated.
+
+2015-04-21  Kevin Buettner  <kevinb@redhat.com>
+
+       * rl78-tdep.c (RL78_SP_ADDR): Define.
+       (opc_reg_to_gdb_regnum): New static function.
+       (rl78_analyze_prologue): Recognize instructions forming slightly
+       more interesting prologues.
+
+2015-04-20  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       Revert:
+       2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
+       * gdbtypes.c (is_dynamic_type_internal): Remove special handling of
+       TYPE_CODE_REF types so that they are not considered as dynamic
+       depending on the referenced type.
+       (resolve_dynamic_type_internal): Likewise.
+
+2015-04-20  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       Revert:
+       2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
+       * gdbtypes.c (is_dynamic_type_internal): Remove the unused
+       "top_level" parameter.
+       (resolve_dynamic_type_internal): Remove the unused "top_level"
+       parameter.  Update call to is_dynamic_type_internal.
+       (is_dynamic_type): Update call to is_dynamic_type_internal.
+       (resolve_dynamic_range): Update call to
+       resolve_dynamic_type_internal.
+       (resolve_dynamic_union): Likewise.
+       (resolve_dynamic_struct): Likewise.
+       (resolve_dynamic_type): Likewise.
+
+2015-04-19  Gabriel Krisman Bertazi  <gabriel@krisman.be>
+
+       * breakpoint.c (update_dprintf_command_list): Remove duplicated
+       xmalloc.
+
+2015-04-20  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * reply_mig_hack.awk: Robustify parsing.
+
+       * reply_mig_hack.awk: Don't bother to declare an intermediate
+       function pointer variable.
+
+2015-04-17  Doug Evans  <dje@google.com>
+
+       * solib-svr4.c (svr4_exec_displacement): Rename outer "displacement"
+       to "exec_displacement" to avoid confusion with inner use of the name.
+
+2015-04-17  Pedro Alves  <palves@redhat.com>
+
+       * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Return zero
+       if HW point of TYPE isn't supported.
+
+2015-04-17  Yao Qi  <yao.qi@linaro.org>
+           Pedro Alves  <palves@redhat.com>
+
+       * target.h (target_can_use_hardware_watchpoint): Update comments.
+       Remove trailing ";".
+
+2015-04-17  Gary Benson <gbenson@redhat.com>
+
+       * remote.c (remote_add_inferior): New argument try_open_exec.
+       If nonzero, attempt to open the inferior's executable file as
+       the main executable if no main executable is open already.
+       All callers updated.
+       * NEWS: Mention that GDB now supports automatic location and
+       retrieval of executable + files from remote targets.
+
+2015-04-17  Gary Benson <gbenson@redhat.com>
+
+       * target.h (TARGET_OBJECT_EXEC_FILE): New enum value.
+       * remote.c (PACKET_qXfer_exec_file): Likewise.
+       (remote_protocol_features): Register the
+       "qXfer:exec-file:read" feature.
+       (remote_xfer_partial): Handle TARGET_OBJECT_EXEC_FILE.
+       (remote_pid_to_exec_file): New function.
+       (init_remote_ops): Initialize to_pid_to_exec_file.
+       (_initialize_remote): Register new "set/show remote
+       pid-to-exec-file-packet" command.
+       * NEWS: Announce new qXfer:exec-file:read packet.
+
+2015-04-17  Gary Benson <gbenson@redhat.com>
+
+       * nat/linux-procfs.h (linux_proc_pid_to_exec_file):
+       New declaration.
+       * nat/linux-procfs.c (linux_proc_pid_to_exec_file):
+       New function, factored out from...
+       * linux-nat.c (linux_child_pid_to_exec_file): ...here.
+
+2015-04-17  Gary Benson <gbenson@redhat.com>
+
+       * exec.c (solist.h): New include.
+       (exec_file_locate_attach): Prefix absolute executable
+       paths with gdb_sysroot if set.
+       * NEWS: Mention that executable paths may be prepended
+       with sysroot.
+
+2015-04-17  Gary Benson <gbenson@redhat.com>
+
+       * solist.h (exec_file_find): New declaration.
+       * solib.c (solib_find_1): New function, factored out from...
+       (solib_find): ...here.
+       (exec_file_find): New function.
+
+2015-04-17  Gary Benson <gbenson@redhat.com>
+
+       * gdbcore.h (exec_file_locate_attach): New declaration.
+       * exec.c (exec_file_locate_attach): New function, factored
+       out from...
+       * infcmd.c (attach_command_post_wait): ...here.
+
+2015-04-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * MAINTAINERS: Add myself for Blackfin/write-after-approval.
+
+2015-04-16  Yao Qi  <yao.qi@linaro.org>
+
+       * infrun.c (maybe_software_singlestep): Declare.
+       (displaced_step_fixup): Call maybe_software_singlestep.
+
+2015-04-15  Doug Evans  <dje@google.com>
+
+       * psymtab.c (psym_expand_symtabs_matching): Add QUIT call.
+
+2015-04-15  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dw2_expand_symtabs_matching): Add some QUIT calls.
+
+2015-04-15  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * python/lib/gdb/command/unwinders.py: Add parentheses.
+
+2015-04-15  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-linux-tdep.c (arm_linux_copy_svc): Update debug message.
+
+2015-04-15  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-linux-tdep.c (arm_linux_copy_svc): Fix indentation.
+
+2015-04-15  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-linux-tdep.c (arm_linux_cleanup_svc): Use
+       dsc->insn_size instead of 4.
+
+2015-04-14  Gary Benson <gbenson@redhat.com>
+
+       * jit.c (mem_bfd_iovec_stat): Zero supplied buffer.
+       * minidebug.c (lzma_stat): Likewise.
+       * solib-spu.c (spu_bfd_iovec_stat): Likewise.
+       * spu-linux-nat.c (spu_bfd_iovec_stat): Likewise.
+
+2015-04-13  Stan Shebs  <stanshebs@google.com>
+
+       * MAINTAINERS: Update my email address.
+
 2015-04-13  John Baldwin  <jhb@FreeBSD.org>
 
        * amd64-tdep.c (amd64_target_description): New function.
This page took 0.029142 seconds and 4 git commands to generate.