+2015-10-29 Pedro Alves <palves@redhat.com>
+
+ * mem-break.c (Z_packet_to_bkpt_type): Add cast.
+
+2015-10-29 Pedro Alves <palves@redhat.com>
+
+ * tracepoint.c (clear_installed_tracepoints): Add casts.
+
+2015-10-29 Pedro Alves <palves@redhat.com>
+
+ * server.c (handle_v_cont, process_serial_event): Add enum
+ gdb_signal casts to signal parsing code.
+
+2015-10-29 Pedro Alves <palves@redhat.com>
+
+ * linux-low.h (NULL_REGSET): Define.
+ * linux-aarch64-low.c (aarch64_regsets): Use NULL_REGSET.
+ * linux-arm-low.c (arm_regsets): Likewise.
+ * linux-crisv32-low.c (cris_regsets): Likewise.
+ * linux-m68k-low.c (m68k_regsets): Likewise.
+ * linux-mips-low.c (mips_regsets): Likewise.
+ * linux-nios2-low.c (nios2_regsets): Likewise.
+ * linux-ppc-low.c (ppc_regsets): Likewise.
+ * linux-s390-low.c (s390_regsets): Likewise.
+ * linux-sh-low.c (sh_regsets): Likewise.
+ * linux-sparc-low.c (sparc_regsets): Likewise.
+ * linux-tic6x-low.c (tic6x_regsets): Likewise.
+ * linux-tile-low.c (tile_regsets): Likewise.
+ * linux-x86-low.c (x86_regsets): Likewise.
+ * linux-xtensa-low.c (xtensa_regsets): Likewise.
+
+2015-10-29 Pedro Alves <palves@redhat.com>
+
+ * linux-low.h (NULL_REGSET): Define.
+ * linux-aarch64-low.c (aarch64_regsets): Use NULL_REGSET.
+ * linux-arm-low.c (arm_regsets): Likewise.
+ * linux-crisv32-low.c (cris_regsets): Likewise.
+ * linux-m68k-low.c (m68k_regsets): Likewise.
+ * linux-mips-low.c (mips_regsets): Likewise.
+ * linux-nios2-low.c (nios2_regsets): Likewise.
+ * linux-ppc-low.c (ppc_regsets): Likewise.
+ * linux-s390-low.c (s390_regsets): Likewise.
+ * linux-sh-low.c (sh_regsets): Likewise.
+ * linux-sparc-low.c (sparc_regsets): Likewise.
+ * linux-tic6x-low.c (tic6x_regsets): Likewise.
+ * linux-tile-low.c (tile_regsets): Likewise.
+ * linux-x86-low.c (x86_regsets): Likewise.
+ * linux-xtensa-low.c (xtensa_regsets): Likewise.
+
+2015-10-26 Doug Evans <dje@google.com>
+
+ * linux-low.c (__SIGRTMIN): Move to nat/linux-nat.h.
+
+2015-10-26 Doug Evans <dje@google.com>
+
+ * linux-low.c (W_STOPCODE): Moved to common/gdb_wait.h.
+
+2015-10-26 Doug Evans <dje@google.com>
+
+ * thread-db.c (find_one_thread): Cast ti.ti_tid to unsigned long
+ for debug_printf.
+ (attach_thread, find_new_threads_callback): Ditto.
+
+2015-10-23 Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+ * mem-break.h (set_breakpoint_data): Remove.
+
+2015-10-23 Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+ * nto-low.c (nto_sw_breakpoint_from_kind): New function.
+ (struct target_ops) <sw_breakpoint_from_kind>: Initialize.
+ (initialize_low): Remove set_breakpoint_data call.
+ * spu-low.c (spu_sw_breakpoint_from_kind): New function.
+ (struct target_ops) <sw_breakpoint_from_kind>: Iniitalize.
+ (initialize_low): Remove set_breakpoint_data call.
+ * win32-low.c (win32_sw_breakpoint_from_kind): New function.
+ (struct target_ops) <sw_breakpoint_from_kind>: Initialize.
+ (initialize_low): Remove set_breakpoint_data call.
+
+2015-10-23 Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+ * linux-low.c (default_breakpoint_kind_from_pc): Move to target.c.
+ * mem-break.c (set_breakpoint_at): Use target_breakpoint_kind_from_pc.
+ * target.c (default_breakpoint_kind_from_pc): Moved from linux-low.c
+ * target.h (target_breakpoint_kind_from_pc): New macro.
+
+2015-10-22 Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+ * linux-low.c (default_breakpoint_kind_from_pc): New function.
+ (linux_breakpoint_kind_from_pc): Use default_breakpoint_kind_from_pc for
+ the default breakpoint kind.
+
+2015-10-21 Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+ * linux-arm-low.c (arm_supports_z_point_type): Add software
+ breakpoint support.
+
+2015-10-21 Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+ * linux-arm-low.c: Refactor breakpoint definitions.
+ (arm_breakpoint_at): Adjust for arm_abi_breakpoint.
+ (arm_sw_breakpoint_from_kind): Adjust for arm_breakpoint.
+
+2015-10-21 Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+ * Makefile.in: Add arm.c/o.
+ * configure.srv: Likewise.
+ * linux-arm-low.c (arm_breakpoint_kinds): New enum.
+ (arm_breakpoint_kind_from_pc): New function.
+ (arm_sw_breakpoint_from_kind): Return proper kind.
+ (struct linux_target_ops) <breakpoint_kind_from_pc>: Initialize.
+
+2015-10-21 Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+ * linux-low.c (initialize_low): Ajdust for breakpoint global variables
+ removal.
+ * mem-break.c : Remove breakpoint_data/breakpoint_len global variables.
+ (struct raw_breakpoint) <size>: Remove.
+ (struct raw_breakpoint) <kind>: Add.
+ (bp_size): New function.
+ (bp_opcode): Likewise.
+ (find_raw_breakpoint_at): Adjust for kind.
+ (insert_memory_breakpoint): Adjust for kind call bp_size,bp_opcode.
+ (remove_memory_breakpoint): Adjust for kind call bp_size.
+ (set_raw_breakpoint_at): Adjust for kind.
+ (set_breakpoint): Likewise.
+ (set_breakpoint_at): Call breakpoint_kind_from_pc.
+ (delete_raw_breakpoint): Adjust for kind.
+ (delete_breakpoint): Likewise.
+ (find_gdb_breakpoint): Likewise.
+ (set_gdb_breakpoint_1): Likewise.
+ (set_gdb_breakpoint): Likewise.
+ (delete_gdb_breakpoint_1): Likewise.
+ (delete_gdb_breakpoint): Likewise.
+ (uninsert_raw_breakpoint): Likewise.
+ (reinsert_raw_breakpoint): Likewise.
+ (set_breakpoint_data): Remove.
+ (validate_inserted_breakpoint): Adjust for kind call bp_size,bp_opcode.
+ (check_mem_read): Adjust for kind call bp_size.
+ (check_mem_write): Adjust for kind call bp_size,bp_opcode.
+ (clone_one_breakpoint): Adjust for kind.
+ * mem-break.h (set_gdb_breakpoint): Likewise.
+ (delete_gdb_breakpoint): Likewise.
+ * server.c (process_serial_event): Likewise.
+
+2015-10-21 Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+ * linux-aarch64-low.c (aarch64_sw_breakpoint_from_kind): New function.
+ (struct linux_target_ops) <breakpoint>: Remove.
+ (struct linux_target_ops) <breakpoint_len>: Remove.
+ (struct linux_target_ops) <breakpoint_kind_from_pc>: Initialize field.
+ (struct linux_target_ops) <sw_breakpoint_from_kind>: Initialize field.
+ * linux-arm-low.c (arm_breakpoint_kind_from_pc): New function.
+ (arm_sw_breakpoint_from_kind): New function.
+ * linux-bfin-low.c (bfin_sw_breakpoint_from_kind): New function.
+ (struct linux_target_ops) <breakpoint>: Remove.
+ (struct linux_target_ops) <breakpoint_len>: Remove.
+ (struct linux_target_ops) <breakpoint_kind_from_pc>: Initialize field.
+ (struct linux_target_ops) <sw_breakpoint_from_kind>: Initialize field.
+ * linux-cris-low.c (cris_sw_breakpoint_from_kind): New function.
+ (struct linux_target_ops) <breakpoint>: Remove.
+ (struct linux_target_ops) <breakpoint_len>: Remove.
+ (struct linux_target_ops) <breakpoint_kind_from_pc>: Initialize field.
+ (struct linux_target_ops) <sw_breakpoint_from_kind>: Initialize field.
+ * linux-crisv32-low.c (cris_sw_breakpoint_from_kind): New function.
+ (struct linux_target_ops) <breakpoint>: Remove.
+ (struct linux_target_ops) <breakpoint_len>: Remove.
+ (struct linux_target_ops) <breakpoint_kind_from_pc>: Initialize field.
+ (struct linux_target_ops) <sw_breakpoint_from_kind>: Initialize field.
+ * linux-low.c (linux_wait_1): Call breakpoint_kind_from_pc
+ and sw_breakpoint_from_kind to increment the pc.
+ (linux_breakpoint_kind_from_pc): New function.
+ (linux_sw_breakpoint_from_kind): New function.
+ (struct target_ops) <sw_breakpoint_from_kind>: Initialize field.
+ (initialize_low): Call breakpoint_kind_from_pc and
+ sw_breakpoint_from_kind to replace breakpoint_data/len.
+ * linux-low.h (struct linux_target_ops) <breakpoint_kind_from_pc>:
+ New field.
+ (struct linux_target_ops) <sw_breakpoint_from_kind>: Likewise.
+ * linux-m32r-low.c (m32r_sw_breakpoint_from_kind): New function.
+ (struct linux_target_ops) <breakpoint>: Remove.
+ (struct linux_target_ops) <breakpoint_len>: Remove.
+ (struct linux_target_ops) <breakpoint_kind_from_pc>: Initialize field.
+ (struct linux_target_ops) <sw_breakpoint_from_kind>: Initialize field.
+ * linux-m68k-low.c (m68k_sw_breakpoint_from_kind): New function.
+ (struct linux_target_ops) <breakpoint>: Remove.
+ (struct linux_target_ops) <breakpoint_len>: Remove.
+ (struct linux_target_ops) <breakpoint_kind_from_pc>: Initialize field.
+ (struct linux_target_ops) <sw_breakpoint_from_kind>: Initialize field.
+ * linux-mips-low.c (mips_sw_breakpoint_from_kind): New function.
+ (struct linux_target_ops) <breakpoint>: Remove.
+ (struct linux_target_ops) <breakpoint_len>: Remove.
+ (struct linux_target_ops) <breakpoint_kind_from_pc>: Initialize field.
+ (struct linux_target_ops) <sw_breakpoint_from_kind>: Initialize field.
+ * linux-nios2-low.c (nios2_sw_breakpoint_from_kind): New function.
+ (struct linux_target_ops) <breakpoint>: Remove.
+ (struct linux_target_ops) <breakpoint_len>: Remove.
+ (struct linux_target_ops) <breakpoint_kind_from_pc>: Initialize field.
+ (struct linux_target_ops) <sw_breakpoint_from_kind>: Initialize field.
+ * linux-ppc-low.c (ppc_sw_breakpoint_from_kind): New function.
+ (struct linux_target_ops) <breakpoint>: Remove.
+ (struct linux_target_ops) <breakpoint_len>: Remove.
+ (struct linux_target_ops) <breakpoint_kind_from_pc>: Initialize field.
+ (struct linux_target_ops) <sw_breakpoint_from_kind>: Initialize field.
+ * linux-s390-low.c (s390_sw_breakpoint_from_kind): New function.
+ (struct linux_target_ops) <breakpoint>: Remove.
+ (struct linux_target_ops) <breakpoint_len>: Remove.
+ (struct linux_target_ops) <breakpoint_kind_from_pc>: Initialize field.
+ (struct linux_target_ops) <sw_breakpoint_from_kind>: Initialize field.
+ * linux-sh-low.c (sh_sw_breakpoint_from_kind): New function.
+ (struct linux_target_ops) <breakpoint>: Remove.
+ (struct linux_target_ops) <breakpoint_len>: Remove.
+ (struct linux_target_ops) <breakpoint_kind_from_pc>: Initialize field.
+ (struct linux_target_ops) <sw_breakpoint_from_kind>: Initialize field.
+ * linux-sparc-low.c (sparc_sw_breakpoint_from_kind): New function.
+ (struct linux_target_ops) <breakpoint>: Remove.
+ (struct linux_target_ops) <breakpoint_len>: Remove.
+ (struct linux_target_ops) <breakpoint_kind_from_pc>: Initialize field.
+ (struct linux_target_ops) <sw_breakpoint_from_kind>: Initialize field.
+ * linux-tic6x-low.c (tic6x_sw_breakpoint_from_kind): New function.
+ (struct linux_target_ops) <breakpoint>: Remove.
+ (struct linux_target_ops) <breakpoint_len>: Remove.
+ (struct linux_target_ops) <breakpoint_kind_from_pc>: Initialize field.
+ (struct linux_target_ops) <sw_breakpoint_from_kind>: Initialize field.
+ * linux-tile-low.c (tile_sw_breakpoint_from_kind): New function.
+ * linux-x86-low.c (x86_sw_breakpoint_from_kind): New function.
+ (struct linux_target_ops) <breakpoint>: Remove.
+ (struct linux_target_ops) <breakpoint_len>: Remove.
+ (struct linux_target_ops) <breakpoint_kind_from_pc>: Initialize field.
+ (struct linux_target_ops) <sw_breakpoint_from_kind>: Initialize field.
+ * linux-xtensa-low.c (xtensa_sw_breakpoint_from_kind) New function.
+ (struct linux_target_ops) <breakpoint>: Remove.
+ (struct linux_target_ops) <breakpoint_len>: Remove.
+ (struct linux_target_ops) <breakpoint_kind_from_pc>: Initialize field.
+ (struct linux_target_ops) <sw_breakpoint_from_kind>: Initialize field.
+
+2015-10-21 Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+ * linux-cris-low.c (cris_get_pc): Remove void arg.
+
+2015-10-16 Aleksandar Ristovski <aristovski@qnx.com>
+
+ * gdbserver/nto-low.c (nto_insert_point, nto_remove_point): Fix
+ variable name.
+
+2015-10-16 Aleksandar Ristovski <aristovski@qnx.com>
+
+ * inferiors.c (thread_pid_matches_callback): New function.
+ (find_thread_process): New function.
+ (remove_thread): Reset current_thread.
+ (remove_process): Assert threads have been removed first.
+
+2015-10-15 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c (aarch64_insert_point): Set len to 2
+ if it is 3.
+ (aarch64_remove_point): Likewise.
+ * regcache.c (regcache_register_size): New function.
+
+2015-10-12 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c: Update all callers as emit_load_store
+ is renamed to aarch64_emit_load_store.
+
+2015-10-12 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c: Update all callers of function renaming
+ from emit_insn to aarch64_emit_insn.
+
+2015-10-12 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c (enum aarch64_opcodes): Move to
+ arch/aarch64-insn.h.
+ (struct aarch64_memory_operand): Likewise.
+ (ENCODE): Likewise.
+ (emit_insn): Move to arch/aarch64-insn.c.
+ (emit_b, emit_bcond, emit_cb, emit_tb): Remove.
+ (emit_load_store): Move to arch/aarch64-insn.c.
+ (emit_ldr, emit_ldrb, emit_ldrsw, emit_nop): Remove.
+ (can_encode_int32): Remove.
+
+2015-10-12 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c (extract_signed_bitfield): Remove.
+ (aarch64_decode_ldr_literal): Move to gdb/arch/aarch64-insn.c.
+ (aarch64_relocate_instruction): Likewise.
+ (struct aarch64_insn_data): Move to gdb/arch/aarch64-insn.h.
+ (struct aarch64_insn_visitor): Likewise.
+
+2015-10-12 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c (struct aarch64_insn_data): New.
+ (struct aarch64_insn_visitor): New.
+ (struct aarch64_insn_relocation_data): New.
+ (aarch64_ftrace_insn_reloc_b): New function.
+ (aarch64_ftrace_insn_reloc_b_cond): Likewise.
+ (aarch64_ftrace_insn_reloc_cb): Likewise.
+ (aarch64_ftrace_insn_reloc_tb): Likewise.
+ (aarch64_ftrace_insn_reloc_adr): Likewise.
+ (aarch64_ftrace_insn_reloc_ldr_literal): Likewise.
+ (aarch64_ftrace_insn_reloc_others): Likewise.
+ (visitor): New.
+ (aarch64_relocate_instruction): Use visitor.
+
+2015-10-12 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c (aarch64_relocate_instruction): Return
+ int. Add argument buf.
+ (aarch64_install_fast_tracepoint_jump_pad): Pass buf to
+ aarch64_relocate_instruction.
+
+2015-10-12 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c (aarch64_relocate_instruction): Add
+ argument insn. Remove local variable insn. Don't call
+ target_read_uint32.
+ (aarch64_install_fast_tracepoint_jump_pad): Call
+ target_read_uint32.
+
+2015-09-30 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c (emit_movk): Shorten a long line.
+ (emit_load_store_pair): Likewise.
+
+2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
+
+ * dll.c (match_dll): Add cast(s).
+ (unloaded_dll): Likewise.
+ * linux-low.c (second_thread_of_pid_p): Likewise.
+ (delete_lwp_callback): Likewise.
+ (count_events_callback): Likewise.
+ (select_event_lwp_callback): Likewise.
+ (linux_set_resume_request): Likewise.
+ * server.c (accumulate_file_name_length): Likewise.
+ (emit_dll_description): Likewise.
+ (handle_qxfer_threads_worker): Likewise.
+ (visit_actioned_threads): Likewise.
+ * thread-db.c (any_thread_of): Likewise.
+ * tracepoint.c (same_process_p): Likewise.
+ (match_blocktype): Likewise.
+ (build_traceframe_info_xml): Likewise.
+
+2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
+
+ * ax.c (gdb_parse_agent_expr): Add cast to allocation result
+ assignment.
+ (gdb_unparse_agent_expr): Likewise.
+ * hostio.c (require_data): Likewise.
+ (handle_pread): Likewise.
+ * linux-low.c (disable_regset): Likewise.
+ (fetch_register): Likewise.
+ (store_register): Likewise.
+ (get_dynamic): Likewise.
+ (linux_qxfer_libraries_svr4): Likewise.
+ * mem-break.c (delete_fast_tracepoint_jump): Likewise.
+ (set_fast_tracepoint_jump): Likewise.
+ (uninsert_fast_tracepoint_jumps_at): Likewise.
+ (reinsert_fast_tracepoint_jumps_at): Likewise.
+ (validate_inserted_breakpoint): Likewise.
+ (clone_agent_expr): Likewise.
+ * regcache.c (init_register_cache): Likewise.
+ * remote-utils.c (putpkt_binary_1): Likewise.
+ (decode_M_packet): Likewise.
+ (decode_X_packet): Likewise.
+ (look_up_one_symbol): Likewise.
+ (relocate_instruction): Likewise.
+ (monitor_output): Likewise.
+ * server.c (handle_search_memory): Likewise.
+ (handle_qxfer_exec_file): Likewise.
+ (handle_qxfer_libraries): Likewise.
+ (handle_qxfer): Likewise.
+ (handle_query): Likewise.
+ (handle_v_cont): Likewise.
+ (handle_v_run): Likewise.
+ (captured_main): Likewise.
+ * target.c (write_inferior_memory): Likewise.
+ * thread-db.c (try_thread_db_load_from_dir): Likewise.
+ * tracepoint.c (init_trace_buffer): Likewise.
+ (add_tracepoint_action): Likewise.
+ (add_traceframe): Likewise.
+ (add_traceframe_block): Likewise.
+ (cmd_qtdpsrc): Likewise.
+ (cmd_qtdv): Likewise.
+ (cmd_qtstatus): Likewise.
+ (response_source): Likewise.
+ (response_tsv): Likewise.
+ (cmd_qtnotes): Likewise.
+ (gdb_collect): Likewise.
+ (initialize_tracepoint): Likewise.
+
2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
* linux-aarch64-low-.c: Include ax.h and tracepoint.h.