+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