Fix ARI new warnings introduced in i386-tdep.c.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index dac31aea7c6b2385dfc7bb79dc96fc6d6b69e8b8..caaacc9925c5bdc17f9a6fc76f4f4dcbb71a2606 100644 (file)
@@ -1,3 +1,731 @@
+2015-06-11  Walfred Tedeschi  <walfred.tedeschi@intel.com>
+
+       * i386-tdep.c (i386_mpx_print_bounds): use of LONGEST instead of
+       long long int and plongest instead of %ll.
+
+2015-06-11  Gary Benson <gbenson@redhat.com>
+
+       * nat/linux-namespaces.c (gdb_wait.h): New include.
+       (sys/wait.h): Do not include.
+
+2015-06-10  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * dwarf2read.c (dwarf_record_line): Call dwarf_record_line if
+       end_sequence is true.
+
+2015-06-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup.
+       * solib-target.c (library_list_start_list): Use explicit NULL
+       comparison.
+
+2015-06-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * solib-target.c (library_list_start_list): Do not dereference
+       variable version in its initialization.  Make the VERSION check handle
+       NULL.
+       (library_list_attributes): Make "version" GDB_XML_AF_OPTIONAL.
+
+2015-06-10  Gary Benson <gbenson@redhat.com>
+
+       * NEWS: Announce support for direct access of executable and
+       shared library files when attaching to inferiors in containers
+       on GNU/Linux systems.
+
+2015-06-10  Gary Benson <gbenson@redhat.com>
+
+       * remote.c (struct remote_state) <fs_pid>: New field.
+       (new_remote_state): Initialize the above.
+       (PACKET_vFile_setfs): New enum value.
+       (remote_hostio_set_filesystem): New function.
+       (remote_hostio_open): Call the above.
+       (remote_hostio_unlink): Likewise.
+       (remote_hostio_readlink): Likewise.
+       (_initialize_remote): Register new "set/show remote
+       hostio-setfs-packet" command.
+       * NEWS: Announce new vFile:setfs packet.
+
+2015-06-10  Gary Benson <gbenson@redhat.com>
+
+       * linux-nat.c (nat/linux-namespaces.h): New include.
+       (fileio.h): Likewise.
+       (linux_nat_filesystem_is_local): New function.
+       (linux_nat_fileio_pid_of): Likewise.
+       (linux_nat_fileio_open): Likewise.
+       (linux_nat_fileio_readlink): Likewise.
+       (linux_nat_fileio_unlink): Likewise.
+       (linux_nat_add_target): Initialize to_filesystem_is_local,
+       to_fileio_open, to_fileio_readlink and to_fileio_unlink.
+       (_initialize_linux_nat): New "set/show debug linux-namespaces"
+       commands.
+       * NEWS: Mention new "set/show debug linux-namespaces" commands.
+
+2015-06-10  Gary Benson <gbenson@redhat.com>
+
+       * target.h (struct inferior): New forward declaration.
+       (struct target_ops) <to_filesystem_is_local>: Update comment.
+       (struct target_ops) <to_fileio_open>: New argument inf.
+       Update comment.  All implementations updated.
+       (struct target_ops) <to_fileio_unlink>: Likewise.
+       (struct target_ops) <to_fileio_readlink>: Likewise.
+       (target_filesystem_is_local): Update comment.
+       (target_fileio_open): New argument inf.  Update comment.
+       (target_fileio_unlink): Likewise.
+       (target_fileio_readlink): Likewise.
+       (target_fileio_read_alloc): Likewise.
+       (target_fileio_read_stralloc): Likewise.
+       * target.c (target_fileio_open): New argument inf.
+       Pass inf to implementation.  Update debug printing.
+       (target_fileio_unlink): Likewise.
+       (target_fileio_readlink): Likewise.
+       (target_fileio_read_alloc_1): New argument inf. Pass inf
+       to target_fileio_open.
+       (target_fileio_read_alloc): New argument inf. Pass inf to
+       target_fileio_read_alloc_1.
+       (target_fileio_read_stralloc): Likewise.
+       * gdb_bfd.c (inferior.h): New include.
+       (gdb_bfd_iovec_fileio_open): Replace unused "open_closure"
+       argument with new argument "inferior".  Pass inferior to
+       target_fileio_open.
+       (gdb_bfd_open): Supply inferior argument to
+       gdb_bfd_iovec_fileio_open.
+       * linux-tdep.c (linux_info_proc): Supply inf argument to
+       relevant target_fileio calls.
+       (linux_find_memory_regions_full): Likewise.
+       (linux_fill_prpsinfo): Likewise.
+       * remote.c (remote_filesystem_is_local): Supply inf
+       argument to remote_hostio_open.
+       (remote_file_put): Likewise.
+       (remote_file_get): Likewise.
+       (remote_file_delete): Supply inf argument to
+       remote_hostio_unlink.
+
+2015-06-10  Gary Benson <gbenson@redhat.com>
+
+       * inf-child.c (inf_child_fileio_open): Replace comment.
+       (inf_child_fileio_pwrite): Likewise.
+       (inf_child_fileio_pread): Likewise.
+       (inf_child_fileio_fstat): Insert blank line before comment.
+       (inf_child_fileio_close): Replace comment.
+       (inf_child_fileio_unlink): Likewise.
+       (inf_child_fileio_readlink): Likewise.
+       * remote.c (remote_hostio_open): Likewise.
+       (remote_hostio_pread): Likewise.
+       (remote_hostio_pwrite): Likewise.
+       (remote_hostio_close): Likewise.
+       (remote_hostio_unlink): Likewise.
+       (remote_hostio_readlink): Likewise.
+       (remote_hostio_fstat): Likewise.
+       (remote_filesystem_is_local): Likewise.
+       * target.c (target_fileio_open): Likewise.
+       (target_fileio_pwrite): Likewise.
+       (target_fileio_pread): Likewise.
+       (target_fileio_fstat): Insert blank line before comment.
+       (target_fileio_close): Replace comment.
+       (target_fileio_unlink): Likewise.
+       (target_fileio_readlink): Likewise.
+       (target_fileio_read_alloc): Likewise.
+       (target_fileio_read_stralloc): Likewise.
+
+2015-06-10  Gary Benson <gbenson@redhat.com>
+
+       * linux-thread-db.c (nat/linux-namespaces.h): New include.
+       (check_pid_namespace_match): Use linux_ns_same rather than
+       linux_proc_pid_get_ns to spot PID namespace mismatches.
+       * nat/linux-procfs.h (linux_proc_pid_get_ns): Remove.
+       * nat/linux-procfs.c (linux_proc_pid_get_ns): Likewise.
+
+2015-06-10  Gary Benson <gbenson@redhat.com>
+
+       * configure.ac (AC_CHECK_FUNCS): Add setns.
+       * config.in: Regenerate.
+       * configure: Likewise.
+       * nat/linux-namespaces.h: New file.
+       * nat/linux-namespaces.c: Likewise.
+       * Makefile.in (HFILES_NO_SRCDIR): Add nat/linux-namespaces.h.
+       (linux-namespaces.o): New rule.
+       * config/aarch64/linux.mh (NATDEPFILES): Add linux-namespaces.o.
+       * config/alpha/alpha-linux.mh (NATDEPFILES): Likewise.
+       * config/arm/linux.mh (NATDEPFILES): Likewise.
+       * config/i386/linux.mh (NATDEPFILES): Likewise.
+       * config/i386/linux64.mh (NATDEPFILES): Likewise.
+       * config/ia64/linux.mh (NATDEPFILES): Likewise.
+       * config/m32r/linux.mh (NATDEPFILES): Likewise.
+       * config/m68k/linux.mh (NATDEPFILES): Likewise.
+       * config/mips/linux.mh (NATDEPFILES): Likewise.
+       * config/pa/linux.mh (NATDEPFILES): Likewise.
+       * config/powerpc/linux.mh (NATDEPFILES): Likewise.
+       * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
+       * config/powerpc/spu-linux.mh (NATDEPFILES): Likewise.
+       * config/s390/linux.mh (NATDEPFILES): Likewise.
+       * config/sparc/linux.mh (NATDEPFILES): Likewise.
+       * config/sparc/linux64.mh (NATDEPFILES): Likewise.
+       * config/tilegx/linux.mh (NATDEPFILES): Likewise.
+       * config/xtensa/linux.mh (NATDEPFILES): Likewise.
+
+2015-06-10  Gary Benson <gbenson@redhat.com>
+
+       * utils.h (make_cleanup_close): Moved to common/filestuff.h.
+       * utils.c (do_close_cleanup): Moved to common/filestuff.c.
+       (make_cleanup_close): Likewise.
+       * common/filestuff.h (make_cleanup_close): Moved from utils.h.
+       * common/filestuff.c (do_close_cleanup): Moved from utils.c.
+       (make_cleanup_close): Likewise.
+
+2015-06-03  Jon Turney  <jon.turney@dronecode.org.uk>
+
+       * windows-nat.c (thread_rec): Also ignore ERROR_INVALID_HANDLE
+       from SuspendThread().
+
+2015-06-03  Jon Turney  <jon.turney@dronecode.org.uk>
+
+       * windows-nat.c (handle_output_debug_string): Trim trailing '\n'
+       from OutputDebugString.
+
+2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
+                       Mircea Gherzan  <mircea.gherzan@intel.com>
+
+       * i386-tdep.c (MPX_BASE_MASK, MPX_BD_MASK, MPX_BT_MASK, MPX_BD_MASK_32,
+       MPX_BT_MASK_32): New macros.
+       (i386_mpx_set_bounds): New function that implements
+       the command "set-mpx-bound".
+       (i386_mpx_enabled): Helper function to test MPX availability.
+       (i386_mpx_bd_base): Helper function to calculate the base directory
+       address.
+       (i386_mpx_get_bt_entry): Helper function to access a bound
+       table entry.
+       (i386_mpx_print_bounds): Effectively display bound information.
+       (_initialize_i386_tdep): Add new commands to commands "set mpx" and
+       "show mpx".
+       (_initialize_i386_tdep):
+       Add "bound" to the commands "show mpx" and "set mpx" commands.
+       (mpx_set_cmdlist and mpx_show_cmdlist): List for the new prefixed "set mpx"
+       and "show mpx" commands.
+       * NEWS: List new commands for MPX support.
+
+2015-06-09  Gary Benson <gbenson@redhat.com>
+
+       * common/fileio.h (fileio_to_host_mode): New declaration.
+       * common/fileio.c (fileio_to_host_mode): New Function.
+       * inf-child.c (inf_child_fileio_open): Process mode argument
+       with fileio_to_host_mode.
+
+2015-06-09  Gary Benson <gbenson@redhat.com>
+
+       * common/fileio.c (fileio_mode_pack): Fix preprocessor
+       conditional.
+
+2015-06-05  Gary Benson <gbenson@redhat.com>
+
+       * gdb_bfd.c (gdb_bfd_open): Move vgdb special case to...
+       * remote.c (remote_filesystem_is_local): ...here.
+
+2015-06-04  Yao Qi  <yao.qi@linaro.org>
+
+       * gdbarch.c: Regenerate it.
+
+2015-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * arch-utils.c (default_infcall_munmap): New.
+       * arch-utils.h (default_infcall_munmap): New declaration.
+       * compile/compile-object-load.c (struct munmap_list, munmap_list_add)
+       (munmap_list_free, munmap_listp_free_cleanup): New.
+       (struct setup_sections_data): Add field munmap_list_headp.
+       (setup_sections): Call munmap_list_add.
+       (compile_object_load): New variable munmap_list_head, initialize
+       setup_sections_data.munmap_list_headp, return munmap_list_head.
+       * compile/compile-object-load.h (struct munmap_list): New declaration.
+       (struct compile_module): Add field munmap_list_head.
+       (munmap_list_free): New declaration.
+       * compile/compile-object-run.c (struct do_module_cleanup): Add field
+       munmap_list_head.
+       (do_module_cleanup): Call munmap_list_free.
+       (compile_object_run): Pass munmap_list_head to do_module_cleanup.
+       * gdbarch.c: Regenerate.
+       * gdbarch.h: Regenerate.
+       * gdbarch.sh (infcall_munmap): New.
+       * linux-tdep.c (linux_infcall_munmap): New.
+       (linux_init_abi): Install it.
+
+2015-06-02  Simon Marchi  <simon.marchi@ericsson.com>
+
+       PR gdb/15564
+       * inferior.c (detach_inferior): Call exit_inferior_1 with silent = 0.
+
+2015-06-02  Yao Qi  <yao.qi@linaro.org>
+
+       * i386-linux-nat.c: Include linux-nat.h.
+
+2015-06-01  Andreas Schwab  <schwab@linux-m68k.org>
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR symtab/18392
+       * dwarf2-frame-tailcall.c (pretended_chain_levels): Correct
+       assertion.
+       * dwarf2loc.c (chain_candidate): Likewise.
+
+2015-06-01  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-linux-nat.c (fetch_vfp_regs): Use PTRACE_GETREGSET.
+       (store_vfp_regs): Use PTRACE_SETREGSET.
+
+2015-06-01  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-linux-nat.c (fetch_fpregister): Use PTRACE_GETREGSET.
+       (fetch_fpregs): Likewise.
+       * arm-linux-nat.c (store_fpregister): Use PTRACE_SETREGSET.
+       (store_fpregs): Likewise.
+
+2015-06-01  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-linux-nat.c (fetch_register): Use PTRACE_GETREGSET.
+       (fetch_regs): Likewise.
+       (store_regs): Use PTRACE_SETREGSET.
+       (store_register): Likewise.
+
+2015-06-01  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-linux-nat.c (arm_linux_read_description): Check whether
+       kernel supports PTRACE_GETREGSET.
+
+2015-06-01  Yao Qi  <yao.qi@linaro.org>
+
+       * x86-linux-nat.c (have_ptrace_getregset): Move it to ...
+       * linux-nat.c: ... here.
+       * x86-linux-nat.h (have_ptrace_getregset): Move the declaration
+       to ...
+       * linux-nat.h: ... here.
+
+2015-06-01  Yao Qi  <yao.qi@linaro.org>
+
+       * amd64-linux-nat.c: Include "nat/linux-ptrace.h".
+       * i386-linux-nat.c: Likewise.
+       * nat/linux-ptrace.h (PTRACE_GETREGSET, PTRACE_SETREGSET): Define.
+       * s390-linux-nat.c: Include "nat/linux-ptrace.h".
+       (PTRACE_GETREGSET, PTRACE_SETREGSET): Remove.
+       * x86-linux-nat.c: Include "nat/linux-ptrace.h".
+       * x86-linux-nat.h (PTRACE_GETREGSET, PTRACE_SETREGSET): Remove.
+
+2015-05-30  Eli Zaretskii  <eliz@gnu.org>
+
+       * go32-nat.c (go32_xfer_memory): Fix the return value to be
+       compatible to what read_child and write_child return.  This
+       unbreaks that DJGPP build of GDB which was broken since v7.7.
+
+2015-05-29  Martin Galvan  <martin.galvan@tallertechnologies.com>
+
+       * MAINTAINERS (Write After Approval): Add Martin Galvan.
+
+2015-05-29  Roland McGrath  <mcgrathr@google.com>
+
+       PR gdb/18464
+       * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Use warning
+       rather than internal_error for an unrecognized value.
+
+2015-05-29  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * xtensa-tdep.c (xtensa_pseudo_register_read)
+       (xtensa_pseudo_register_write): Don't alias last pseudo register
+       to a1.
+
+2015-05-28  Don Breazeal  <donb@codesourcery.com>
+
+       * infrun.c (follow_fork_inferior): Ensure the use of
+       process-style ptids (pid,0,0) in verbose/debug "Detaching"
+       messages.
+
+2015-05-28  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (record_line_ftype): Remove, duplicate.
+
+2015-05-28  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-linux-nat.c (arm_linux_has_wmmx_registers): Remove.
+       (arm_linux_fetch_inferior_registers): Use
+       tdep->have_wmmx_registers instead of arm_linux_has_wmmx_registers.
+       (arm_linux_store_inferior_registers): Likewise.
+       (arm_linux_read_description): Don't set
+       arm_linux_has_wmmx_registers.
+       * arm-tdep.c (arm_gdbarch_init): Set
+       tdep->have_wmmx_registers according target descriptions.
+       * arm-tdep.h (struct gdbarch_tdep) <have_wmmx_registers>: New
+       field.
+
+2015-05-28  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-linux-nat.c (arm_linux_vfp_register_count): Remove.
+       (fetch_vfp_regs): Use vfp_register_count from gdbarch_tdep
+       instead of arm_linux_vfp_register_count.
+       (store_vfp_regs): Likewise.
+       (arm_linux_fetch_inferior_registers): Likewise.
+       (arm_linux_store_inferior_registers): Likewise.
+       (arm_linux_read_description): Don't set
+       arm_linux_vfp_register_count.
+       * arm-linux-tdep.c (arm_linux_iterate_over_regset_sections):
+       Adjust.
+       * arm-tdep.c (arm_gdbarch_init): Add assert on
+       vfp_register_count.
+       * arm-tdep.h (struct gdbarch_tdep) <have_vfp_registers>: Rename
+       field to vfp_register_count.  All users updated.
+
+2015-05-28  Kyle Huey  <me@kylehuey.com>  (tiny patch)
+
+       * gdb/arm-tdep.c (arm_gdbarch_init): Perform arm_abi detection on
+       ELFOSABI_GNU binaries.
+
+2015-05-27  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (lnp_state_machine): New typedef.
+       (lnp_reader_state): New typedef.
+       (dwarf_record_line_1): Renamed from dwarf_record_line.
+       All callers updated.
+       (dwarf_record_line): New function.
+       (init_lnp_state_machine): New function.
+       (check_line_address): Replace p_record_line parameter with state.
+       All callers updated.
+       (dwarf_decode_lines_1): Call dwarf_record_line, init_lnp_state_machine.
+       Update to record state in lnp_state_machine.
+
+2015-05-27  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (record_line_ftype): New typedef.
+       (check_line_address): New function.
+       (dwarf_decode_lines_1): Call it.
+
+2015-05-27  Doug Evans  <dje@google.com>
+
+       * NEWS: Mention "set debug dwarf-line".
+       * dwarf2read.c (dwarf_line_debug): New static global.
+       (add_include_dir): Add debug dwarf-line support.
+       (add_file_name, dwarf_record_line, dwarf_finish_line): Ditto.
+       (_initialize_dwarf2_read): New parameter "debug dwarf-line".
+
+2015-05-27  Doug Evans  <dje@google.com>
+
+       * cp-namespace.c (cp_lookup_nested_symbol): New arg "domain".
+       All callers updated.
+       (cp_lookup_nested_symbol_1, find_symbol_in_baseclass): Ditto.
+       * cp-support.h (cp_lookup_nested_symbol): Update.
+
+2015-05-27  Doug Evans  <dje@google.com>
+
+       PR symtab/18258
+       * block.c (block_find_symbol): New function.
+       (block_find_non_opaque_type): Ditto.
+       (block_find_non_opaque_type_preferred): Ditto.
+       * block.h (block_symbol_matcher_ftype): New typedef.
+       (block_find_symbol): Declare.
+       (block_find_non_opaque_type): Ditto.
+       (block_find_non_opaque_type_preferred): Ditto.
+       * dwarf2read.c (dw2_lookup_symbol): Call block_find_symbol.
+       * psymtab.c (psym_lookup_symbol): Ditto.
+       * symtab.c (basic_lookup_transparent_type_1): New function.
+       (basic_lookup_transparent_type): Call it.
+
+2015-05-27  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-tdep.c (aarch64_record_data_proc_simd_fp): Return
+       AARCH64_RECORD_UNKNOWN for unknown instruction encoding.
+
+2015-05-27  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-tdep.c (aarch64_record_branch_except_sys): Split lines
+       before operator &&.
+       (aarch64_record_load_store): Likewise.
+
+2015-05-26  Doug Evans  <dje@google.com>
+
+       PR c++/18141, c++/18417.
+       * cp-support.c (cp_lookup_rtti_type): Handle the case of NAME being
+       a typedef.
+
+2015-05-26  Doug Evans  <dje@google.com>
+
+       * NEWS: Add entries for command renamings.
+       * dwarf2read.c (dwarf_read_debug): Renamed from dwarf2_read_debug.
+       All uses updated.
+       (dwarf_die_debug): Renamed from dwarf2_die_debug.  All uses updated.
+       (dwarf_max_cache_age): Renamed from dwarf2_max_cache_age.
+       All uses updated.
+       (show_dwarf_max_cache_age): Renamed from show_dwarf2_max_cache_age.
+       All callers updated.  Fix spelling of DWARF in help text.
+       (set_dwarf_cmdlist): Renamed from set_dwarf2_cmdlist.
+       All uses updated.
+       (show_dwarf_cmdlist): Renamed from show_dwarf2_cmdlist.
+       All uses updated.
+       (set_dwarf_cmd): Renamed from set_dwarf2_cmd.  All callers updated.
+       (show_dwarf_cmd): Renamed from show_dwarf2_cmd.  All callers updated.
+       (dwarf_always_disassemble): Renamed from dwarf_always_disassemble.
+       All uses updated.
+       (show_dwarf_always_disassemble): Renamed from
+       show_dwarf2_always_disassemble.  All callers updated.
+       (_initialize_dwarf2_read): Rename "set/show dwarf2" prefix to
+       "set/show dwarf".  Rename "set/show dwarf2 max-cache-age" to
+       "set/show dwarf max-cache-age".  Rename
+       "set/show dwarf2 always-disassemble" to
+       "set/show dwarf always-disassemble".  Rename
+       "set/show debug dwarf2-read" to "set/show debug dwarf-read".  Rename
+       "set/show debug dwarf2-die" to "set/show debug dwarf-die".
+
+2015-05-26  Doug Evans  <dje@google.com>
+
+       PR python/18438
+       * python/py-lazy-string.c (stpy_convert_to_value): Use
+       gdbpy_gdb_memory_error not PyExc_MemoryError.
+       (gdbpy_create_lazy_string_object): Ditto.
+
+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
        linux_enable_event_reporting.
        (_initialize_linux_nat): Delete call to
        linux_ptrace_set_additional_flags.
-       * nat/linux-ptrace.c (current_ptrace_options): Rename to 
+       * nat/linux-ptrace.c (current_ptrace_options): Rename to
        supported_ptrace_options.
        (additional_flags): Delete variable.
        (linux_check_ptrace_features): Use supported_ptrace_options.
        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 
+       (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):
This page took 0.050839 seconds and 4 git commands to generate.