Disable readline's SIGWINCH handler
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 1d64788647518404fcb5db06831bb5b1a860b8ee..7d0e7e95636539aee8735caf3491397baccf4e94 100644 (file)
@@ -1,3 +1,233 @@
+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
This page took 0.029609 seconds and 4 git commands to generate.