Use aarch64_decode_insn in aarch64_analyze_prologue
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index ff3e7d5298c3dd638a5767eab6a7cc14c450ef26..93a2950caf85a13b132382f2b024480c1ffddbd5 100644 (file)
+2015-11-05  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-tdep.c (extract_signed_bitfield): Remove.
+       (decode_masked_match): Remove.
+       (aarch64_decode_add_sub_imm): Remove.
+       (aarch64_decode_br): Remove.
+       (aarch64_decode_eret): Remove.
+       (aarch64_decode_movz): Remove.
+       (aarch64_decode_orr_shifted_register_x): Remove.
+       (aarch64_decode_ret): Remove.
+       (aarch64_decode_stp_offset): Remove.
+       (aarch64_decode_stur): Remove.
+       (aarch64_analyze_prologue): Call aarch64_decode_insn
+       and use aarch64_inst to decode instructions.
+
+2015-11-05  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-tdep.c (aarch64_decode_stp_offset): New argument
+       wback.
+       (aarch64_decode_stp_offset_wb): Removed.
+       (aarch64_analyze_prologue): Don't use
+       aarch64_decode_stp_offset_wb.
+
+2015-11-04  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       PR/18376
+       * gdb/s390-linux-tdep.c (s390_is_partial_instruction): New function.
+       (s390_software_single_step): New function.
+       (s390_displaced_step_hw_singlestep): New function.
+       (s390_gdbarch_init): Fill gdbarch slots with the above.
+
+2015-11-04  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       PR/18376
+       * gdb/configure.tgt: Add linux-record.o to s390*-linux.
+       * gdb/s390-linux-tdep.c: #include "linux-record.h", "record-full.h"
+       (s390_linux_record_tdep): New static global variable.
+       (s390x_linux_record_tdep): New static global variable.
+       (s390_all_but_pc_registers_record): New function.
+       (s390_canonicalize_syscall): New function.
+       (s390_linux_syscall_record): New function.
+       (s390_linux_record_signal): New function.
+       (s390_record_calc_disp_common): New function.
+       (s390_record_calc_disp): New function.
+       (s390_record_calc_disp_vsce): New function.
+       (s390_record_calc_rl): New function.
+       (s390_record_gpr_g): New function.
+       (s390_record_gpr_h): New function.
+       (s390_record_vr): New function.
+       (s390_process_record): New function.
+       (s390_init_linux_record_tdep): New function.
+       (s390_gdbarch_init): Fill record function slots.
+
+2015-11-04  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * record-full.c (record_full_exec_insn): Use xmalloc for temporary
+       memory storage.
+
+2015-11-04  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record.c (get_insn_history_modifiers): Set DISASSEMBLY_SOURCE
+       instead of DISASSEMBLY_SOURCE_DEPRECATED.  Also accept /s.
+       (_initialize_record): Document the /s modifier.
+       * NEWS: Announce record instruction-history's new /s modifier.
+
+2015-11-04  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c (struct btrace_line_range): New.
+       (btrace_mk_line_range, btrace_line_range_add)
+       (btrace_line_range_is_empty, btrace_line_range_contains_range)
+       (btrace_find_line_range, btrace_print_lines): New.
+       (btrace_insn_history): Add source interleaving algorithm.
+
+2015-11-04  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * disasm.h (DISASSEMBLY_SPECULATION): New.
+       (struct disasm_insn): New.
+       (gdb_pretty_print_insn): New.
+       * disasm.c (gdb_pretty_print_insn): Replace parameter PC with INSN.
+       Update users.  Print instruction number and indicate speculative
+       execution, if requested.
+
+2015-11-04  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * disasm.c (dump_insns): Split into this and ...
+       (gdb_pretty_print_insn): ... this.
+
+2015-11-03  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * xtensa-linux-nat.c (supply_gregset_reg): Make static.
+       (xtensa_linux_fetch_inferior_registers): Likewise.
+       (xtensa_linux_store_inferior_registers): Likewise.
+
+2015-11-03  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * arm-linux-nat.c (arm_linux_read_description): Add cast.
+
+2015-11-03  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * ppc-linux-nat.c (ppc_linux_insert_mask_watchpoint): Change
+       type of rw to enum target_hw_bp_type.
+       (ppc_linux_remove_mask_watchpoint): Likewise.
+       * target.c (target_insert_mask_watchpoint): Likewise.
+       (target_remove_mask_watchpoint): Likewise.
+       * target.h (target_insert_mask_watchpoint): Likewise.
+       (target_remove_mask_watchpoint): Likewise.
+       (struct target_ops) <to_insert_mask_watchpoint>: Likewise.
+       (struct target_ops) <to_remove_mask_watchpoint>: Likewise.
+       * target-delegates.c: Regenerate.
+
+2015-11-03  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * remote-sim.c (check_for_duplicate_sim_descriptor): Add casts.
+       (get_sim_inferior_data): Likewise.
+       (sim_inferior_data_cleanup): Likewise.
+       (gdbsim_close_inferior): Likewise.
+       (gdbsim_resume_inferior): Likewise.
+       (gdbsim_wait): Likewise.
+       (simulator_command): Likewise.
+       (sim_command_completer): Likewise.
+
+2015-11-03  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * MAINTAINERS (Write After Approval): Add Marcin Kościelnicki.
+
+2015-10-30  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c (breakpoint_in_range_p)
+       (breakpoint_location_address_range_overlap): New functions.
+       * breakpoint.h (breakpoint_in_range_p): New declaration.
+       * infrun.c (displaced_step_prepare_throw): If there's a breakpoint
+       in the scratch pad range, don't displaced step.
+
+2015-10-30  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * amd64-linux-tdep.c (amd64_x32_linux_init_abi): Fix size_msghdr,
+       size_stack_t, size_size_t, size_iovec.
+
+2015-10-30  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * aarch64-linux-tdep.c (aarch64_linux_init_abi): Fix size_termios.
+       * amd64-linux-tdep.c (amd64_linux_init_abi): Fix size_termios.
+       (amd64_x32_linux_init_abi): Fix size_termios.
+
+2015-10-30  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * ppc-linux-tdep.c (ppc_init_linux_record_tdep): Fix TASK_COMM_LEN.
+
+2015-10-30  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * linux-record.c (record_linux_system_call): Fix old_select.
+
+2015-10-30  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * linux-record.c (record_linux_system_call): Fix newstatat.
+
+2015-10-30  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * linux-record.c (record_linux_system_call): Fix [gs]etgroups16.
+
+2015-10-30  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * aarch64-linux-tdep.c (aarch64_linux_init_abi): Add size_time_t.
+       * amd64-linux-tdep.c (amd64_linux_init_abi): Add size_time_t.
+       (amd64_x32_linux_init_abi): Add size_time_t.
+       * arm-linux-tdep.c (arm_linux_init_abi): Add size_time_t.
+       * i386-linux-tdep.c (i386_linux_init_abi): Add size_time_t.
+       * linux-record.c (record_linux_system_call): Add time, waitpid, pipe
+       handling.
+       * linux-record.h (struct linux_record_tdep): Add size_time_t.
+       * ppc-linux-tdep.c (ppc_init_linux_record_tdep): Add size_time_t.
+
+2015-10-30  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * linux-record.c (record_linux_msghdr): Fix msg_namelen handling.
+
+2015-10-30  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * aarch64-linux-tdep.c (aarch64_linux_init_abi): Remove
+       size_dirent{,64}, add size_old_dirent.
+       * amd64-linux-tdep.c (amd64_linux_init_abi): Remove size_dirent{,64},
+       add size_old_dirent.
+       (amd64_x32_linux_init_abi): Remove size_dirent{,64}, add
+       size_old_dirent.
+       * arm-linux-tdep.c (arm_linux_init_abi): Remove size_dirent{,64},
+       add size_old_dirent.
+       * i386-linux-tdep.c (i386_linux_init_abi): Remove size_dirent{,64},
+       add size_old_dirent.
+       * linux-record.c (record_linux_system_call): Fix handling of readdir
+       and getdents{,64}.
+       * linux-record.h (struct linux_record_tdep): Remove size_dirent{,64},
+       add size_old_dirent.
+       * ppc-linux-tdep.c (ppc_init_linux_record_tdep): Remove
+       size_dirent{,64}, add size_old_dirent.
+
+2015-10-30  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * aarch64-linux-tdep.c (aarch64_linux_init_abi): Fix size_sigaction,
+       size_sigset_t, size_old_sigaction, size_old_sigset_t.
+       * amd64-linux-tdep.c (amd64_linux_init_abi): Fix size_sigaction,
+       size_sigset_t, size_old_sigaction, size_old_sigset_t.
+       (amd64_x32_linux_init_abi): Fix size_sigaction, size_sigset_t,
+       size_old_sigaction, size_old_sigset_t.
+       * arm-linux-tdep.c (arm_linux_init_abi): Fix size_sigaction,
+       size_old_sigaction, size_old_sigset_t.
+       * i386-linux-tdep.c (i386_linux_init_abi): Fix size_sigaction,
+       size_old_sigaction, size_old_sigset_t.
+       * ppc-linux-tdep.c (ppc_init_linux_record_tdep): Fix size_sigaction,
+       size_sigset_t, size_old_sigaction, size_old_sigset_t.
+
+2015-10-30  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * arm-linux-tdep.c (arm_linux_init_abi): Fix size_[ug]id.
+       * i386-linux-tdep.c (i386_linux_init_abi): Fix size_[ug]id.
+
+2015-10-30  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * aarch64-linux-tdep.c (aarch64_linux_init_abi): Remove size_siginfo.
+       * amd64-linux-tdep.c (amd64_linux_init_abi): Remove size_siginfo.
+       (amd64_x32_linux_init_abi): Remove size_siginfo.
+       * arm-linux-tdep.c (arm_linux_init_abi): Remove size_siginfo.
+       * i386-linux-tdep.c (i386_linux_init_abi): Remove size_siginfo.
+       * linux-record.c (record_linux_system_call): Change size_siginfo
+       to size_siginfo_t.
+       * linux-record.h (struct linux_record_tdep): Remove size_siginfo.
+       * ppc-linux-tdep.c (ppc_init_linux_record_tdep): Remove size_siginfo.
+
+2015-10-29  Pedro Alves  <palves@redhat.com>
+
+       * mdebugread.c (add_data_symbol): New function, factored out from
+       ...
+       (parse_symbol): ... here.  Delete 'theclass' local.
+
+2015-10-29  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * jit.c (jit_target_read_impl): Add cast.
+
+2015-10-29  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * jit.c (jit_reader_load): Add cast.
+
+2015-10-29  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * dwarf2read.c (partial_die_full_name): Add cast.
+
+2015-10-29  Pedro Alves  <palves@redhat.com>
+
+       * common/vec.h (DEF_VEC_FUNC_P) [iterate]: Cast 0 to type T.
+
+2015-10-29  Pedro Alves  <palves@redhat.com>
+
+       * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Add cast.
+
+2015-10-29  Eli Zaretskii  <eliz@gnu.org>
+
+       * utils.c (init_page_info): Disable paging if INSIDE_EMACS is set
+       in the environment.
+
+2015-10-29  Pedro Alves  <palves@redhat.com>
+
+       * gnu-v2-abi.c (gnuv2_is_destructor_name)
+       (gnuv2_is_constructor_name): Add casts.
+
+2015-10-29  Pedro Alves  <palves@redhat.com>
+
+       * common/common-exceptions.c (exception_none): Add cast.
+
+2015-10-29  Pedro Alves  <palves@redhat.com>
+
+       * compile/compile-c-types.c (struct type_map_instance)
+       <gcc_type>: Rename to gcc_type_handle.
+       (insert_type, convert_type): Adjust.
+
+2015-10-29  Pedro Alves  <palves@redhat.com>
+
+       * dwarf2-frame-tailcall.c (dwarf2_tailcall_sniffer_first): Don't
+       assume that "break" breaks out of a TRY/CATCH.
+       * python/py-framefilter.c (py_print_single_arg): Don't assume
+       "continue" breaks out of a TRY/CATCH.
+       * python/py-value.c (valpy_binop_throw): New function, factored
+       out from ...
+       (valpy_binop): ... this.
+       (valpy_richcompare_throw): New function, factored
+       out from ...
+       (valpy_richcompare): ... this.
+       * solib.c (solib_read_symbols): Don't assume "break" breaks out
+       of a TRY/CATCH.
+       * common/common-exceptions.h [USE_RAW_CXX_TRY]
+       <TRY/CATCH/END_CATCH>: Define as 1-1 wrappers around try/catch.
+
+2015-10-28  Simon Dardis  <Simon.Dardis@imgtec.com>
+
+       * mips-linux-tdep.c (mips_linux_in_dynsym_stub): Recognise 'or'
+       as move along with [d]addu.
+
+2015-10-28  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-tdep.c (aarch64_software_single_step): Pass 1 to
+       aarch64_decode_insn.
+
+2015-10-27  Pedro Alves  <palves@redhat.com>
+
+       * common/print-utils.c (host_address_to_string): Rename to ...
+       (host_address_to_string_1): ... this.
+       * common/print-utils.h (host_address_to_string): Reimplement as
+       wrapper around host_address_to_string_1.
+       * utils.c (gdb_print_host_address): Rename to ...
+       (gdb_print_host_address_1): ... this.
+       * utils.h (gdb_print_host_address): Reimplement as wrapper macro
+       around  host_address_to_string_1.
+
+2015-10-27  Pedro Alves  <palves@redhat.com>
+
+       * alpha-tdep.c (alpha_read_insn): Always pass TARGET_XFER_E_IO to
+       memory_error.  Rename local 'status' to 'res'.
+       * c-lang.c (c_get_string): Always pass TARGET_XFER_E_IO to
+       memory_error.
+       * corefile.c (read_stack, read_code, write_memory): Always pass
+       TARGET_XFER_E_IO to memory_error.
+       * disasm.c (dis_asm_memory_error): Always pass TARGET_XFER_E_IO to
+       memory_error.  Rename parameter 'status' to 'err'.
+       (dump_insns): Rename local 'status' to 'err'.
+       * mips-tdep.c (mips_fetch_instruction): Rename parameter 'statusp'
+       to 'errp'.  Rename local 'status' to 'err'.  Always pass
+       TARGET_XFER_E_IO to memory_error.
+       (mips_breakpoint_from_pc): Rename local 'status' to 'err'.
+       * target.c (target_read_memory, target_read_raw_memory)
+       (target_read_stack, target_read_code, target_write_memory)
+       (target_write_raw_memory): Return -1 on error instead of
+       TARGET_XFER_E_IO.
+       * valprint.c (val_print_string): Rename local 'errcode' to 'err'.
+       Always pass TARGET_XFER_E_IO to memory_error.  Update comment.
+
+2015-10-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * guile/guile-internal.h (gdbscm_with_guile): Change return
+       types to const char *.
+       * guile/scm-safe-call.c (gdbscm_with_guile): Likewise.
+       (struct c_data) <func>: Likewise.
+       (struct c_data) <result>: Change type to const char *.
+       (scscm_eval_scheme_string): Change return type to
+       const char *.
+       (scscm_source_scheme_script): Likewise.
+       (gdbscm_safe_eval_string): Change type of result variable to
+       const char * and remove cast.
+       (gdbscm_safe_source_script): Likewise.
+       * guile/scm-disasm.c (gdbscm_disasm_read_memory_worker):
+       Change return type to const char *.
+       (gdbscm_disasm_read_memory): Change type of status to
+       const char *.
+
+2015-10-27  Pedro Alves  <palves@redhat.com>
+
+       * source.c (openp): New local 'last_errno'.  Use it to
+       save/restore errno.
+
+2015-10-27  Pedro Alves  <palves@redhat.com>
+
+       * psymtab.c (dump_psymtab_addrmap_1): Add casts.
+
+2015-10-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * ctf.c (SET_ENUM_FIELD): New macro.
+       (ctf_read_status): Use it.
+       (ctf_read_tp): Use it.
+
+2015-10-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * guile/scm-breakpoint.c (gdbscm_set_breakpoint_stop_x): Add
+       scm_t_dynwind_flags casts.
+       * guile/scm-cmd.c (gdbscm_parse_command_name): Likewise.
+       * guile/scm-ports.c (gdbscm_open_memory): Likewise.
+       * guile/scm-value.c (gdbscm_value_to_string): Likewise.
+
+2015-10-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * ax.h (ax_raw_byte): New declaration.
+       * ax-general.c (ax_raw_byte): New function.
+       (ax_simple): Use ax_raw_byte.
+       * ax-gdb.c (gen_printf): Likewise.
+
+2015-10-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * ada-lang.h (GROW_VECT): Add cast.
+
+2015-10-26  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.h (struct general_symbol_info> <ada_mangled>: Update comment.
+
+2015-10-26  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * target.c (memory_xfer_partial): Change type of buf to gdb_byte
+       pointer.
+       (simple_search_memory): Cast return of memmem.
+
+2015-10-26  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * stap-probe.c (handle_stap_probe): Add (const char *) casts.
+
+2015-10-26  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * ctf.c (ctf_xfer_partial): Return TARGET_XFER_E_IO instead of
+       -1 on error.
+
+2015-10-26  Doug Evans  <dje@google.com>
+
+       PR symtab/17391
+       * dwarf2-frame.c (dwarf2_restore_rule): Call dwarf_reg_to_regnum
+       instead of gdbarch_dwarf2_reg_to_regnum.
+       (dwarf2_frame_cache): Ditto.
+       (read_addr_from_reg): Call dwarf_reg_to_regnum_or_error instead of
+       gdbarch_dwarf2_reg_to_regnum.
+       (get_reg_value): Ditto.
+       (dwarf2_fetch_cfa_info): Ditto.
+       (dwarf2_frame_prev_register): Ditto.
+       * dwarf2loc.c: #include "complaints.h".
+       (dwarf_expr_read_addr_from_reg): Call dwarf_reg_to_regnum_or_error
+       instead of gdbarch_dwarf2_reg_to_regnum.
+       (dwarf_expr_get_reg_value): Ditto.
+       (read_pieced_value): Ditto.
+       (write_pieced_value): Ditto.
+       (dwarf2_evaluate_loc_desc_full): Ditto.
+       (dwarf_reg_to_regnum): New function.
+       (throw_bad_regnum_error): New function.
+       (dwarf_reg_to_regnum_or_error): Renamed from
+       dwarf2_reg_to_regnum_or_errorChange to take a ULONGEST regnum.
+       All callers updated.  Call throw_bad_regnum_error.
+       (locexpr_regname): Improve text of bad register number.
+       * dwarf2loc.h (dwarf_reg_to_regnum): Declare.
+       (dwarf_reg_to_regnum_or_error): Update prototype.
+       * dwarf2expr.c: #include "dwarf2loc.h".
+       (dwarf_block_to_sp_offset): Call dwarf_reg_to_regnum instead of
+       gdbarch_dwarf2_reg_to_regnum.
+       * gdbarch.sh (dwarf2_reg_to_regnum): Add comment.
+       * gdbarch.h: Regenerate.
+       * amd64-tdep.c (amd64_dwarf_reg_to_regnum): Remove warning for bad
+       register.
+       * avr-tdep.c (avr_dwarf_reg_to_regnum): Ditto.
+       * cris-tdep.c (cris_dwarf2_reg_to_regnum): Ditto.
+       * bfin-tdep.c (bfin_reg_to_regnum): Fix error checking.
+       * hppa-linux-tdep.c (hppa_dwarf_reg_to_regnum): Improve error checking.
+       Remove warning for bad register.
+       * hppa-tdep.c (hppa64_dwarf_reg_to_regnum): Ditto.
+       * i386-tdep.c (i386_svr4_dwarf_reg_to_regnum): Renamed from
+       i386_svr4_reg_to_regnum.  Return -1 for bad registers.
+       (i386_svr4_reg_to_regnum): New function.
+       (i386_gdbarch_init): Update call to set_gdbarch_dwarf2_reg_to_regnum.
+       * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Don't assert
+       on bad registers, return -1.
+       * msp430-tdep.c (msp430_dwarf2_reg_to_regnum): Improve error checking.
+       Remove warning for bad register.
+       * nios2-tdep.c: Add static assert for NIOS2_NUM_REGS.
+       (nios2_dwarf_reg_to_regnum): Fix off-by-one error.
+       Remove warning for bad register.  Return -1 for bad register.
+       * rl78-tdep.c (rl78_dwarf_reg_to_regnum): Don't flag an internal error
+       for bad register, return -1.
+       * rx-tdep.c (rx_dwarf_reg_to_regnum): Ditto.
+       * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Fix error result.
+       * mep-tdep.c (mep_debug_reg_to_regnum): Ditto.
+       * mips-tdep.c (mips_stab_reg_to_regnum): Ditto.
+       (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Ditto.
+       * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Remove warning
+       for bad regs.
+       * xtensa-tdep.c (xtensa_reg_to_regnum): Remove internal error for
+       bad regs.  Fix error result.
+       * stabsread.c (stab_reg_to_regnum): Watch for negative regno.
+       (reg_value_complaint): Update complaint text.
+       * mdebugread.c (reg_value_complaint): New function.
+       (mdebug_reg_to_regnum): Rewrite to watch for bad reg numbers.
+
+2015-10-26  Doug Evans  <dje@google.com>
+
+       PR python/18938
+       * cli/cli-cmds (source_script_fron_sctream): New arg file_to_open.
+       All callers updated.
+
+2015-10-26  Doug Evans  <dje@google.com>
+
+       * psymtab.c (struct dump_psymtab_addrmap_data): Define.
+       (dump_psymtab_addrmap_1, dump_psymtab_addrmap): New functions.
+       (maintenance_print_psymbols): Print address map.
+
+2015-10-26  Doug Evans  <dje@google.com>
+
+       * nat/linux-nat.h (__SIGRTMIN): Move here from gdbserver/linux-low.c.
+
+2015-10-26  Doug Evans  <dje@google.com>
+
+       * common/gdb_wait.h (W_STOPCODE): Define, moved here from
+       gdbserver/linux-low.c.
+       (WSETSTOP): Simplify.
+
+2015-10-26  Doug Evans  <dje@google.com>
+
+       * linux-thread-db.c (find_new_threads_callback): Ditto.
+       (thread_db_pid_to_str): Ditto.
+
+2015-10-26  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * guile/scm-ports.c (ioscm_make_gdb_stdio_port): Do not pass a
+       local char array to scm_mode_bits, use a cast instead.
+
+2015-10-26  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * tui/tui-data.c (tui_alloc_content): Don't check xmalloc
+       result.  Change type of element_block_ptr.  Change allocation to
+       use XNEWVEC.
+
+2015-10-26  Luis Machado  <lgustavo@codesourcery.com>
+
+       * record-full.c (record_full_message_wrapper_safe): Pass empty string to
+       catch_errors call instead of NULL.
+
+2015-10-26  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * guile/scm-ports.c (ioscm_make_gdb_stdio_port): Pass non-const
+       char pointer to scm_mode_bits.
+
+2015-10-26  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * symtab.c (default_make_symbol_completion_list_break_on_1): Add
+       cast.
+
+2015-10-26  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * guile/scm-ports.c (gdbscm_memory_port_write): Declare new
+       "data" local variable and use it.
+
+2015-10-26  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * guile/scm-symbol.c (gdbscm_lookup_global_symbol): Add
+       domain_enum cast.
+       (gdbscm_lookup_symbol): Likewise.
+
+2015-10-25  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * d-exp.y: Remove an obsolete comment and propagate the block
+       information to the produced expression.
+
+2015-10-24  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * tui/tui-data.c (tui_add_to_source_windows): Remove void *
+       cast.
+       (tui_add_content_elements): Likewise.
+
+2015-10-24  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * cli/cli-setshow.c (do_set_command): Constify p.
+
+2015-10-24  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * nat/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Replace
+       (void *) cast with (gdb_byte *).
+
+2015-10-24  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * proc-service.c (ps_pdread): Add cast.
+
+2015-10-24  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * sparc64-tdep.c (sparc64_store_arguments): Split assignment of
+       valbuf.
+
+2015-10-24  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * ia64-tdep.c (ia64_pseudo_register_write): Remove cast.
+       (ia64_push_dummy_call): Remove cast and change type of "to" to
+       array of gdb_byte.
+
+2015-10-23  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * linux-btrace.c (linux_enable_pt): Add cast to mmap return.
+
+2015-10-23  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * observer.h (observer_${event}_notification_stub): Add cast.
+
+2015-10-23  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-tdep.c (aarch64_displaced_step_copy_insn): Set
+       dsd.insn_count to zero.
+
+2015-10-22  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (stop_after_trap): Delete.
+       (clear_proceed_status, handle_signal_stop, struct
+       infcall_control_state, save_infcall_control_state)
+       (restore_infcall_control_state): Remove references to
+       stop_after_trap.
+
+2015-10-22  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * python/python.c (_initialize_python): Add cast.
+
+2015-10-22  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * nto-tdep.c (nto_inferior_data): Add cast.
+
+2015-10-22  Pedro Alves  <palves@redhat.com>
+
+       * windows-nat.c (do_initial_windows_stuff): Rewrite loop using
+       windows_wait and windows_resume directly instead of
+       wait_for_inferior and resume.
+
+2015-10-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * xtensa-tdep.h (XTREG): Add casts.
+       (XTREG_END): Likewise.
+
+2015-10-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * solib-spu.c (spu_bfd_iovec_pread): Add (gdb_byte *) cast.
+
+2015-10-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * rs6000-tdep.c (variants): Add (enum bfd_architecture) cast.
+
+2015-10-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * mips-linux-tdep.c (mips64_linux_get_longjmp_target): Change type of
+       buf to gdb_byte*.
+       (supply_32bit_reg): Add cast.
+       (mips64_fill_gregset): Likewise.
+
+2015-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       PR python/18073
+       * python/py-type.c (typy_get_composite): Allow returning a
+       function type.
+
+2015-10-21  Keven Boell  <keven.boell@intel.com>
+
+       * dwarf2read.c (set_die_type): Add read of
+       DW_AT_allocated and DW_AT_associated.
+       * f-typeprint.c: New include of typeprint.h
+       (f_print_type): Add check for allocated/associated
+       status of type.
+       (f_type_print_varspec_suffix): Add check for
+       * gdbtypes.c (create_array_type_with_stride):
+       Add check for valid data location of type in
+       case allocated or associated attributes are set.
+       Length of an array should be only calculated if
+       allocated or associated is resolved as true.
+       (is_dynamic_type_internal): Add check for allocated/
+       associated.
+       (resolve_dynamic_array): Evaluate allocated/associated
+       properties.
+       * gdbtypes.h (enum dynamic_prop_node_kind): <DYN_PROP_ALLOCATED>
+       <DYN_PROP_ASSOCIATED>: New enums.
+       (TYPE_ALLOCATED_PROP, TYPE_ASSOCIATED_PROP): New macros.
+       (type_not_allocated): New function.
+       (type_not_associated): New function.
+       * valarith.c (value_subscripted_rvalue): Add check for
+       allocated/associated.
+       * valprint.c: New include of typeprint.h.
+       (valprint_check_validity): Add check for allocated/associated.
+       (value_check_printable): Add check for allocated/
+       associated.
+       * typeprint.h (val_print_not_allocated): New function.
+       (val_print_not_associated): New function.
+       * typeprint.c (val_print_not_allocated): New function.
+       (val_print_not_associated): New function.
+
+2015-10-21  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       * Makefile.in: Add arm.c/o.
+       * arch/arm.c: New file.
+       * arch/arm.h: (IS_THUMB_ADDR): Move macro from arm-tdep.c.
+       (MAKE_THUMB_ADDR): Likewise.
+       (UNMAKE_THUMB_ADDR): Likewise.
+       * arm-tdep.c (int thumb_insn_size): Move to arm.c.
+       (IS_THUMB_ADDR): Move to arm.h.
+       (MAKE_THUMB_ADDR): Likewise.
+       (UNMAKE_THUMB_ADDR): Likewise.
+       * configure.tgt: Add arm.o to all ARM configs.
+
+2015-10-21  Yao Qi  <yao.qi@linaro.org>
+
+       * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
+       Remove argument exp_vCont_s.
+       * gdb.base/range-stepping.exp: Callers updated.
+       * gdb.trace/range-stepping.exp: Likewise.
+
+2015-10-21  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * gdb/nto-tdep.c (QNX_NOTE_NAME, QNX_INFO_SECT_NAME): New defines.
+       (nto_sniff_abi_note_section): New function.
+       (nto_elf_osabi_sniffer): Use new function to recognize nto specific
+       binary.
+
+2015-10-21  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * nto-procfs.c (procfs_wait): Set stopped_flags nad stopped_pc.
+       (procfs_stopped_by_watchpoint): Use flags stored in inferior data.
+       * nto-tdep.c (nto_new_inferior_data_reg): New definition.
+       (nto_new_inferior_data, nto_inferior_data_cleanup, nto_inferior_data):
+       New functions.
+       (_initialize_nto_tdep): New forward declaration, new function.
+       * nto-tdep.h (struct nto_inferior_data): New struct.
+       (nto_inferior_data): New function declaration.
+
+2015-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * findvar.c (address_from_register): Check REGNUM validity.
+
+2015-10-20  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * gdb/nto-procfs.c (procfs_pid_to_exec_file): New function.
+       (init_procfs_targets): Wire new function.
+
+2015-10-20  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * nto-procfs.c (sys/auxv.h): Include.
+       (procfs_xfer_partial): Implement TARGET_OBJECT_AUXV.
+       * nto-tdep.c (nto_read_auxv_from_initial_stack): New function.
+       * nto-tdep.h (nto_read_auxv_from_initial_stack): New declaration.
+
+2015-10-20  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * nto-procfs.c (nto_procfs_path): Rename to...
+       (nodestr): ... this, and change type.
+       (nto_node): Use new variable and logic accordingly.
+       (procfs_open_1): Use new variable name. Use local buffer to construct
+       procfrs path.
+       (procfs_pidlist): Use NODESTR to construct procfs path.
+       (procfs_files_info): Use NODESTR to output meaningful text.
+       (do_attach): Construct procfs using NODESTR.
+       (procfs_create_inferior): Compare pointer to NULL.
+
+2015-10-19  Josh Stone  <jistone@redhat.com>
+
+       * linux-nat.c (linux_handle_syscall_trap): Always update entry/
+       return state, even when not actively catching syscalls at all.
+       (linux_handle_extended_wait): Mark syscall_state like an entry.
+       (wait_lwp): Set syscall_state ignored for other traps.
+       (linux_nat_filter_event): Likewise.
+
+2015-10-19  Luis Machado  <lgustavo@codesourcery.com>
+
+       * remote.c (remote_wait_as): Set rs->waiting_for_stop_reply to 0
+       when handling 'E', 'T', 'S', 'X' and 'W' packets.
+       Do not set rs->waiting_for_stop_reply back to 1.
+
+2015-10-16  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * nto-procfs.c (common/filestuff.h): Include.
+       (procfs_can_use_hw_breakpoint): Fix enum name.
+       (procfs_open_1): Fix compiler warning.
+       (procfs_pidlist): Make static.
+       (procfs_meminfo): Make static, fix type name, add missing argument.
+       (procfs_store_registers): Make static.
+       (procfs_thread_info): Remove unused function.
+       (_initialize_procfs): Forward declare.
+
+2015-10-16  Yao Qi  <yao.qi@arm.com>
+
+       * MAINTAINERS: Update my email address.
+
+2015-10-15  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint):
+       Call gdbarch_breakpoint_from_pc to instruction length.
+       (aarch64_linux_remove_hw_breakpoint): Likewise.
+       * common/common-regcache.h (regcache_register_size): Declare.
+       * nat/aarch64-linux-hw-point.c: Include "common-regcache.h".
+       (aarch64_point_is_aligned): Set alignment to 2 for breakpoint if
+       the process is 32bit, otherwise set alignment to 4.
+       (aarch64_handle_breakpoint): Update comments.
+       * regcache.c (regcache_register_size): New function.
+
+2015-10-15  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * gdbarch.sh (core_regset_section): Remove.
+       * gdbarch.h: Regenerate.
+
+2015-10-14  Yao Qi  <yao.qi@linaro.org>
+
+       * arch/aarch64-insn.h (struct aarch64_memory_operand): Move enum
+       out of it.
+       (enum aarch64_memory_operand_type): New.
+
+2015-10-13  David Edelsohn  <dje.gcc@gmail.com>
+
+       * xcoffread.c (dwarf2_xcoff_names): Add .dwmac and .dwpbtyp.
+
+2015-10-13  Pedro Alves  <palves@redhat.com>
+
+       * ada-lang.c (ada_enum_name): Constify local.
+       * ada-typeprint.c (print_range_bound): Constify locals.
+       * c-varobj.c (c_describe_child): Likewise.
+       * cli/cli-setshow.c (do_set_command): Likewise.
+       * gdb_vecs.c (delim_string_to_char_ptr_vec_append): Likewise.
+       * dwarf2read.c (find_file_and_directory): Likewise.
+       (anonymous_struct_prefix, dwarf2_name): Likewise.
+       * gnu-v3-abi.c (gnuv3_rtti_type): Likewise.
+       * go-lang.c (unpack_mangled_go_symbol): Likewise.
+       * jv-typeprint.c (java_type_print_base): Likewise.
+       * ser-tcp.c (net_open): Likewise.
+       * symfile.c (deduce_language_from_filename): Likewise.
+       * symtab.c (gdb_mangle_name): Likewise.
+       * tui/tui-io.c (tui_redisplay_readline): Likewise.
+
+2015-10-13  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (restore_execution_direction): New function.
+       (fetch_inferior_event): Use it instead of
+       make_cleanup_restore_integer.
+       (execution_direction): Change type to enum
+       exec_direction_kind.
+       * infrun.h (execution_direction): Likewise.
+
+2015-10-13  Pedro Alves  <palves@redhat.com>
+
+       * ada-lang.c (ada_value_primitive_packed_val): Constify
+       locals.  Use value_contents_writeable.  Remove casts.
+
+2015-10-13  Pedro Alves  <palves@redhat.com>
+
+       * ada-lang.c (ada_value_primitive_packed_val): Add casts to malloc
+       and alloca calls.
+
+2015-10-13  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * lm32-tdep.c (lm32_push_dummy_call): Replace call to
+       write_memory with write_memory_unsigned_integer.
+
+2015-10-13  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * solib-dsbt.c (cmp_name): Constify arguments.
+       * solib-frv.c (cmp_name): Likewise.
+       * solib-svr4.c (svr4_create_solib_event_breakpoints): Likewise.
+       * solib.c (gdb_bfd_lookup_symbol_from_symtab): Likewise.
+       (bfd_lookup_symbol_from_dyn_symtab): Likewise.
+       (gdb_bfd_lookup_symbol): Likewise.
+       * solib.h (gdb_bfd_lookup_symbol): Likewise.
+       (gdb_bfd_lookup_symbol_from_symtab): Likewise.
+
+2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * stack.c (parse_frame_specification): Remove message parameter,
+       replace with fixed string in function body, update function
+       comment.
+       (frame_info): Remove message to parse_frame_specification.
+       (select_frame_command): Likewise.
+
+2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * stack.c (parse_frame_specification): Delete.
+       (parse_frame_specification_1): Rename to
+       parse_frame_specification.
+       (frame_info): Use parse_frame_specification.
+       (select_frame_command): Likewise.
+       (return_command): Use select_frame and print_stack_frame rather
+       than frame_command and select_frame_command.
+       (func_command): Use get_current_frame rather than
+       parse_frame_specification.
+
+2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * stack.c (func_command): Return early when there is no ARG
+       string.
+
+2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * stack.c: Include safe-ctype.h not ctype.h.
+       (parse_frame_specification): Use ISSPACE not isspace.
+       (backtrace_command): Use TOLOWER not tolower.
+
+2015-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * mep-tdep.c (current_me_module): Add cast.
+       (mep_gdbarch_init): Likewise.
+
+2015-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * m32c-tdep.c (m32c_move_reg_t): Replace with...
+       (m32c_write_reg_t): ...this and...
+       (m32c_read_reg_t): ...this.
+       (struct m32c_reg): Update types of read and write.
+       (m32c_raw_read): Change declaration type to m32c_read_reg_t and
+       adjust definition.
+       (m32c_banked_read): Likewise.
+       (m32c_sb_read): Likewise.
+       (m32c_part_read): Likewise.
+       (m32c_cat_read): Likewise.
+       (m32c_r3r2r1r0_read): Likewise.
+       (m32c_raw_write): Change declaration type to m32c_write_reg_t
+       and adjust definition.
+       (m32c_banked_write): Likewise.
+       (m32c_sb_write): Likewise.
+       (m32c_part_write): Likewise.
+       (m32c_cat_write): Likewise.
+       (m32c_r3r2r1r0_write): Likewise.
+
+2015-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * aarch64-linux-tdep.c (aarch64_linux_syscall_record): Add cast.
+
+2015-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * aarch64-linux-tdep.c (aarch64_canonicalize_syscall): Return
+       gdb_sys_no_syscall instead of -1.
+
+2015-10-12  Yao Qi  <yao.qi@linaro.org>
+
+       * NEWS: Mention the change.
+
+2015-10-12  Yao Qi  <yao.qi@linaro.org>
+
+       * arch/aarch64-insn.c (emit_load_store): Rename to ...
+       (aarch64_emit_load_store): ... it.  All callers updated.
+
+2015-10-12  Yao Qi  <yao.qi@linaro.org>
+
+       * arch/aarch64-insn.c (emit_insn): Rename to ...
+       (aarch64_emit_insn): ... it.  All callers updated.
+
+2015-10-12  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-tdep.c: Include arch-utils.h.
+       (aarch64_linux_init_abi): Call set_gdbarch_max_insn_length,
+       set_gdbarch_displaced_step_copy_insn,
+       set_gdbarch_displaced_step_fixup,
+       set_gdbarch_displaced_step_free_closure,
+       set_gdbarch_displaced_step_location,
+       and set_gdbarch_displaced_step_hw_singlestep.
+       * aarch64-tdep.c (struct displaced_step_closure): New.
+       (struct aarch64_displaced_step_data): New.
+       (aarch64_displaced_step_b): New function.
+       (aarch64_displaced_step_b_cond): Likewise.
+       (aarch64_register): Likewise.
+       (aarch64_displaced_step_cb): Likewise.
+       (aarch64_displaced_step_tb): Likewise.
+       (aarch64_displaced_step_adr): Likewise.
+       (aarch64_displaced_step_ldr_literal): Likewise.
+       (aarch64_displaced_step_others): Likewise.
+       (aarch64_displaced_step_copy_insn): Likewise.
+       (aarch64_displaced_step_fixup): Likewise.
+       (aarch64_displaced_step_hw_singlestep): Likewise.
+       * aarch64-tdep.h (DISPLACED_MODIFIED_INSNS): New macro.
+       (aarch64_displaced_step_copy_insn): Declare.
+       (aarch64_displaced_step_fixup): Declare.
+       (aarch64_displaced_step_hw_singlestep): Declare.
+       * arch/aarch64-insn.c (emit_insn): Moved from
+       gdbserver/linux-aarch64-low.c.
+       (emit_load_store): Likewise.
+       * arch/aarch64-insn.h (enum aarch64_opcodes): Moved from
+       gdbserver/linux-aarch64-low.c.
+       (struct aarch64_register): Likewise.
+       (struct aarch64_memory_operand): Likewise.
+       (ENCODE): Likewise.
+       (can_encode_int32): New macro.
+       (emit_b, emit_bcond, emit_cb, emit_ldr, emit_ldrsw): Likewise.
+       (emit_tb, emit_nop): Likewise.
+       (emit_insn): Declare.
+       (emit_load_store): Declare.
+
+2015-10-12  Yao Qi  <yao.qi@linaro.org>
+
+       * arch/aarch64-insn.c (aarch64_decode_ldr_literal): Moved from
+       gdbserver/linux-aarch64-low.c.
+       (aarch64_relocate_instruction): Likewise.
+       * arch/aarch64-insn.h (aarch64_decode_ldr_literal): Declare.
+       (struct aarch64_insn_data): Moved from
+       gdbserver/linux-aarch64-low.c.
+       (struct aarch64_insn_visitor): Likewise.
+       (aarch64_relocate_instruction): Declare.
+
+2015-10-12  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * eval.c (evaluate_subexp_standard) <STRUCTOP_STRUCT>: If
+       EVAL_AVOID_SIDE_EFFECTS mode, forward the VALUE_LVAL attribute
+       to the returned value.
+
+2015-10-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_unpack_from_contents): Add guard that unpacked
+       is large enough for BIT_SIZE.  Update function comment.
+
+2015-10-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_value_primitive_packed_val): Move
+       src_len variable to local block where used.  Override
+       BIT_SIZE if bigger than size of resolved type.
+
+2015-10-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbtypes.h (is_scalar_type): Add extern declaration.
+       * gdbtypes.c (is_scalar_type): Make non-static.
+       * ada-lang.c (ada_value_primitive_packed_val): Use is_scalar_type
+       to compute IS_SCALAR instead of doing it ourselves.
+
+2015-10-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_value_primitive_packed_val): Rework handling
+       of case where TYPE is dynamic.
+
+2015-10-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_unpack_from_contents): New function,
+       extracted from ada_value_primitive_packed_val.
+       (ada_value_primitive_packed_val): Replace extracted out code
+       by call to ada_unpack_from_contents.
+
+2015-10-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_value_primitive_packed_val): Reorder local
+       variable declarations.
+
 2015-10-09  Joel Brobecker  <brobecker@adacore.com>
 
        * ada-lang.c (ada_value_primitive_packed_val): Change the type
 
        * common/filestuff.c (make_cleanup_close): Update comment.
 
-2015-09-26  Simon Marchi  <simark@nova.polymtl.ca>
+2015-09-26  Simon Marchi  <simon.marchi@polymtl.ca>
 
        * btrace.c (parse_xml_btrace_block): Fix cast of
        xml_find_attribute's return value.
This page took 0.050409 seconds and 4 git commands to generate.