+2015-07-14 Simon Marchi <simon.marchi@ericsson.com>
+
+ * gdbtypes.h (CHECK_TYPEDEF): Remove.
+ * aarch64-tdep.c (aarch64_return_in_memory): Replace CHECK_TYPEDEF
+ with check_typedef.
+ * ada-lang.c (decode_constrained_packed_array_type): Likewise.
+ (ada_array_length): Likewise.
+ (find_parallel_type_by_descriptive_type): Likewise.
+ (ada_check_typedef): Likewise.
+ * arm-tdep.c (arm_return_in_memory): Likewise.
+ * ax-gdb.c (gen_trace_static_fields): Likewise.
+ (gen_struct_ref_recursive): Likewise.
+ * c-exp.y (exp : SIZEOF '(' type ')' %prec UNARY): Likewise.
+ (variable: block COLONCOLON name): Likewise.
+ (qualified_name: TYPENAME COLONCOLON name): Likewise.
+ * c-lang.c (classify_type): Likewise.
+ * c-typeprint.c (c_print_type): Likewise.
+ (c_print_typedef): Likewise.
+ (c_type_print_base): Likewise.
+ * c-valprint.c (c_val_print): Likewise.
+ * compile/compile-c-types.c (convert_type): Likewise.
+ * compile/compile-object-load.c (get_out_value_type): Likewise.
+ * completer.c (add_struct_fields): Likewise.
+ (expression_completer): Likewise.
+ * cp-namespace.c (cp_find_type_baseclass_by_name): Likewise.
+ (cp_lookup_nested_symbol_1): Likewise.
+ (cp_lookup_nested_symbol): Likewise.
+ * cp-valprint.c (cp_print_value_fields): Likewise.
+ (cp_print_static_field): Likewise.
+ * d-valprint.c (d_val_print): Likewise.
+ * eval.c (evaluate_subexp_standard): Likewise.
+ (evaluate_subexp_for_sizeof): Likewise.
+ * f-exp.y (exp : SIZEOF '(' type ')' %prec UNARY): Likewise.
+ * f-typeprint.c (f_type_print_base): Likewise.
+ * f-valprint.c (f_val_print): Likewise.
+ * gdbtypes.c (get_discrete_bounds): Likewise.
+ (create_array_type_with_stride): Likewise.
+ (type_name_no_tag_or_error): Likewise.
+ (lookup_struct_elt_type): Likewise.
+ (get_unsigned_type_max): Likewise.
+ (internal_type_vptr_fieldno): Likewise.
+ (set_type_vptr_fieldno): Likewise.
+ (internal_type_vptr_basetype): Likewise.
+ (set_type_vptr_basetype): Likewise.
+ (get_vptr_fieldno): Likewise.
+ (is_integral_type): Likewise.
+ (is_scalar_type): Likewise.
+ (is_scalar_type_recursive): Likewise.
+ (distance_to_ancestor): Likewise.
+ (is_unique_ancestor_worker): Likewise.
+ (check_types_equal): Likewise.
+ * gnu-v2-abi.c (gnuv2_value_rtti_type): Likewise.
+
+2015-07-14 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * dwarf2read.c (find_slot_in_mapped_hash): Extend language support to
+ also test for language_d.
+ (dwarf2_compute_name): Likewise.
+ (read_func_scope): Likewise.
+ (read_structure_type): Likewise.
+ (new_symbol_full): Likewise.
+ (determine_prefix): Likewise.
+ (read_import_statement): Use dot as the separator for language_d.
+ (typename_concat): Likewise, but don't prefix the D main function.
+
+2015-07-14 Peter Bergner <bergner@vnet.ibm.com>
+
+ * nat/linux-namespaces.c (setns): Rename from this ...
+ (do_setns): ... to this. Support calling setns if it exists.
+ (mnsh_handle_setns): Call do_setns.
+
+2015-07-13 Yao Qi <yao.qi@linaro.org>
+
+ * exec.c (exec_file_attach): Add period at the end of error
+ message.
+
+2015-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * tui/tui-win.c (window_name_completer): New function.
+ (focus_completer): Call window_name_completer. All old content
+ moved into window_name_completer.
+ (winheight_completer): New function.
+ (_initialize_tui_win): Rename variable. Add completer to
+ winheight command. Update doc string on winheight.
+
+2015-07-12 Sandra Loosemore <sandra@codesourcery.com>
+
+ * nios2-linux-tdep.c (_initialize_nios2_linux_tdep): Register
+ all nios2 mach variants.
+
+2015-07-10 Kevin Buettner <kevinb@redhat.com>
+
+ * rx-tdep.c (rx_get_opcode_byte): Use target_read_code instead
+ of target_read_memory.
+
+2015-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * tui/tui-win.c (tui_set_win_height): Use a cleanup to free the
+ string copy.
+ (parse_scrolling_args): Likewise.
+
+2015-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * tui/tui-win.c (focus_completer): Don't duplicate the tui window
+ names in this function.
+
+2015-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * tui/tui-data.h (SRC_NAME): Convert to lower case.
+ (CMD_NAME): Likewise.
+ (DATA_NAME): Likewise.
+ (DISASSEM_NAME): Likewise.
+ * tui/tui-win.c (tui_set_focus): Window names are now lower case.
+ (tui_set_win_height): Likewise.
+ (parse_scrolling_args): Likewise.
+
+2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
+
+ * record-btrace.c (record_btrace_goto_begin)
+ (record_btrace_goto_end, record_btrace_goto): Move call to
+ print_stack_frame ...
+ (record_btrace_set_replay): ... here. Set stop_pc.
+ * record-full.c (record_full_goto_entry): Set stop_pc.
+
+2015-07-09 Pierre Langlois <pierre.langlois@arm.com>
+
+ * NEWS: Mention support for tracepoints on aarch64-linux.
+
+2015-07-09 Pierre Langlois <pierre.langlois@arm.com>
+
+ * linux-aarch64-low.c (aarch64_supports_tracepoints): New
+ function. Return 1.
+ (the_low_target): Install it.
+
+2015-07-09 Pierre Langlois <pierre.langlois@arm.com>
+
+ * gdb.trace/backtrace.exp: Set registers for aarch64 target.
+ * gdb.trace/collection.exp: Likewise.
+ * gdb.trace/mi-trace-frame-collected.exp: Likewise.
+ * gdb.trace/mi-trace-unavailable.exp: Likewise.
+ * gdb.trace/report.exp: Likewise.
+ * gdb.trace/trace-break.exp: Likewise.
+ * gdb.trace/unavailable.exp: Likewise.
+ * gdb.trace/while-dyn.exp: Likewise.
+
+2015-07-09 Pierre Langlois <pierre.langlois@arm.com>
+
+ * aarch64-tdep.c: Add ax.h and ax-gdb.h includes.
+ (aarch64_gen_return_address): New function.
+ (aarch64_gdbarch_init): Hook it.
+
+2015-07-09 Pierre Langlois <pierre.langlois@arm.com>
+
+ * aarch64-tdep.c (aarch64_make_stub_cache): Set available_p and
+ swallow NOT_AVAILABLE_ERROR.
+ (aarch64_stub_this_id): Call frame_id_build_unavailable_stack if
+ available_p is not set.
+ (aarch64_stub_frame_unwind_stop_reason): New function.
+ (aarch64_stub_unwind): Install it.
+
+2015-07-09 Pierre Langlois <pierre.langlois@arm.com>
+
+ * aarch64-tdep.c (aarch64_prologue_cache) <available_p>: New
+ field.
+ (aarch64_make_prologue_cache_1): New function, factored out from
+ aarch64_make_prologue_cache. Do not allocate cache. Set
+ available_p.
+ (aarch64_make_prologue_cache): Reimplement wrapping
+ aarch64_make_prologue_cache_1, and swallowing
+ NOT_AVAILABLE_ERROR.
+ (aarch64_prologue_frame_unwind_stop_reason): New function.
+ Return UNWIND_UNAVAILABLE if available_p is not set.
+ (aarch64_prologue_unwind): Install it.
+ (aarch64_prologue_this_id): Move prev_pc and prev_sp limit
+ checks into aarch64_prologue_frame_unwind_stop_reason. Call
+ frame_id_build_unavailable_stack if available_p is not set.
+
+2015-07-09 Pierre Langlois <pierre.langlois@arm.com>
+
+ * aarch64-tdep.c (aarch64_prologue_cache) <func, prev_pc>: New
+ fields.
+ (aarch64_scan_prologue): Set prev_pc.
+ (aarch64_make_prologue_cache): Set func.
+ (aarch64_make_stub_cache): Set prev_pc.
+ (aarch64_prologue_this_id): Remove local variables id, pc and
+ func. Read prev_pc and func from cache.
+ (aarch64_stub_this_id): Read prev_pc from cache.
+
+2015-07-09 Pierre Langlois <pierre.langlois@arm.com>
+
+ * aarch64-tdep.c (aarch64_make_stub_cache): Update comment. New
+ argument this_cache. Remove unused local variables reg and
+ unwound_fp. Return early if this_cache is already set. Set
+ this_cache.
+ (aarch64_stub_this_id): Update call to aarch64_make_stub_cache.
+
+2015-07-09 Pierre Langlois <pierre.langlois@arm.com>
+
+ * aarch64-tdep.c (aarch64_make_prologue_cache): Update comment.
+ New argument this_cache. Return early if this_cache is already
+ set. Set this_cache.
+ (aarch64_prologue_this_id): Update call to
+ aarch64_make_prologue_cache.
+ (aarch64_prologue_prev_register): Likewise.
+ (aarch64_normal_frame_base): Likewise.
+
+2015-07-09 Simon Marchi <simon.marchi@ericsson.com>
+
+ * c-valprint.c (c_val_print): Factor out memberptr printing code
+ from c_val_print to ...
+ (c_val_print_memberptr): ... this new function.
+
+2015-07-09 Simon Marchi <simon.marchi@ericsson.com>
+
+ * c-valprint.c (c_val_print): Factor out int printing code to ...
+ (c_val_print_int): ... this new function.
+
+2015-07-09 Simon Marchi <simon.marchi@ericsson.com>
+
+ * c-valprint.c (c_val_print): Factor out struct and union
+ printing code to ...
+ (c_val_print_struct): ... this new function ...
+ (c_val_print_union): ... and this new function.
+
+2015-07-09 Simon Marchi <simon.marchi@ericsson.com>
+
+ * c-valprint.c (c_val_print): Factor out pointer printing code
+ to ...
+ (c_val_print_ptr): ... this new function.
+
+2015-07-09 Simon Marchi <simon.marchi@ericsson.com>
+
+ * c-valprint.c (c_valprint): Factor our array printing code from
+ c_val_print to ...
+ (c_val_print_array): ... this new function.
+
+2015-07-09 Simon Marchi <simon.marchi@ericsson.com>
+
+ * c-valprint.c (c_val_print): Factor out pointer printing code
+ to ...
+ (print_unpacked_pointer): ... this new function.
+
+2015-07-09 Simon Marchi <simon.marchi@ericsson.com>
+
+ * c-valprint.c (c_val_print): Remove an assignment to i and move
+ its declaration.
+
+2015-07-09 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity): Add
+ argument ptid. Update comments. Caller update.
+
+2015-07-09 Markus Metzger <markus.t.metzger@intel.com>
+
+ * btrace.c (pt_print_packet): Print stop, vmcs, tma, mtc, cyc, and
+ mnt packets.
+
+2015-07-09 Markus Metzger <markus.t.metzger@intel.com>
+
+ * btrace.c (btrace_pt_readmem_callback): Change type of PC argument.
+
+2015-07-08 Simon Marchi <simon.marchi@ericsson.com>
+
+ * progspace.c (delete_program_space): Add missing spaces.
+
+2015-07-08 Simon Marchi <simon.marchi@ericsson.com>
+
+ * inferior.c (delete_inferior_1): Rename to ...
+ (delete_inferior): ..., remove 'silent' parameter, delete
+ program space when unused and remove call to prune_program_spaces.
+ Remove the old, unused, delete_inferior.
+ (delete_inferior_silent): Remove.
+ (prune_inferiors): Change call from delete_inferior_1 to
+ delete_inferior and remove 'silent' parameter. Remove call to
+ prune_program_spaces.
+ (remove_inferior_command): Idem.
+ * inferior.h (delete_inferior_1): Rename to...
+ (delete_inferior): ..., remove 'silent' parameter and remove the
+ original delete_inferior.
+ (delete_inferior_silent): Remove.
+ * mi/mi-main.c (mi_cmd_remove_inferior): Change call from
+ delete_inferior_1 to delete_inferior and remove 'silent'
+ parameter.
+ * progspace.c (prune_program_spaces): Remove.
+ (pspace_empty_p): Rename to...
+ (program_space_empty_p): ... and make non-static.
+ (delete_program_space): New.
+ * progspace.h (prune_program_spaces): Remove declaration.
+ (program_space_empty_p): New declaration.
+ (delete_program_space): New declaration.
+ * monitor.c (monitor_close): Replace call to
+ delete_thread_silent and delete_inferior_silent with
+ discard_all_inferiors.
+
+2015-07-08 Patrick Palka <patrick@parcs.ath.cx>
+
+ * defs.h (deprecated_register_changed_hook): Remove prototype.
+ * interps.c (clear_iterpreter_hooks): Remove reference to
+ deprecated_register_changed_hook.
+ * top.c (deprecated_register_changed_hook): Remove prototype.
+ * valops.c (value_assign): Remove reference to
+ deprecated_register_changed_hook.
+ * tui/tui-hooks.c (tui_register_changed): Add parameter "frame".
+ Add comment documenting the function.
+ (tui_register_changed_observer): Define.
+ (tui_install_hooks): Remove reference to
+ deprecated_register_changed_hook. Set
+ tui_register_changed_observer.
+ (tui_remove_hooks): Remove reference to
+ deprecated_register_changed_hook. Unset
+ tui_register_changed_observer.
+
+2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ PR compile/18484
+ * compile/compile-c-types.c (insert_type): Change gdb_assert to error.
+
+2015-07-08 Robert O'Callahan <robert@ocallahan.org>
+
+ PR exp/18617
+ * ax-gdb.c (gen_conversion): Extend to 'to' bits, not 'from'.
+
+2015-07-08 Markus Metzger <markus.t.metzger@intel.com>
+
+ * MAINTAINERS (Write After Approval): Add Markus T. Metzger.
+
+2015-07-08 Markus Metzger <markus.t.metzger@intel.com>
+
+ * nat/linux-btrace.c (kernel_supports_bts, kernel_supports_pt):
+ Use safe_strerror() instead of strerror().
+
+2015-07-07 Yao Qi <yao.qi@linaro.org>
+
+ * features/arm-with-m-fpa-layout.xml: Set architecture to arm.
+ * features/arm-with-m-fpa-layout.c: Regenerated.
+ * features/arm-with-m-vfp-d16.xml: Likewise.
+ * features/arm-with-m-vfp-d16.c: Regenerated.
+ * features/arm-with-m.xml: Likewise.
+ * features/arm-with-m.c: Regenerated.
+ * features/arm-with-neon.xml: Likewise.
+ * features/arm-with-neon.c: Regenerated.
+ * features/arm-with-vfpv2.xml: Likewise.
+ * features/arm-with-vfpv2.c: Regenerated.
+ * features/arm-with-vfpv3.xml: Likewise.
+ * features/arm-with-vfpv3.c: Regenerated.
+
+2015-07-07 Yao Qi <yao.qi@linaro.org>
+
+ * aarch32-linux-nat.h (VFP_REGS_SIZE): New macro, moved from
+ arm-linux-nat.c.
+ * aarch64-linux-nat.c: Include aarch32-linux-nat.h and
+ elf/external.h.
+ (fetch_gregs_from_thread): Call aarch32_gp_regcache_supply
+ if target is 32-bit.
+ (store_gregs_to_thread): Call aarch32_gp_regcache_collect
+ if target is 32-bit.
+ (fetch_fpregs_from_thread): Call aarch32_vfp_regcache_supply
+ if target is 32-bit.
+ (store_fpregs_to_thread): Call aarch32_vfp_regcache_collect
+ if target is 32-bit.
+ (tdesc_arm_with_vfpv3, tdesc_arm_with_neon): Declare.
+ (aarch64_linux_read_description): Return the right target
+ description.
+ * arm-linux-nat.c (VFP_REGS_SIZE): Moved to aarch32-linux-nat.h.
+ * config/aarch64/linux.mh (NATDEPFILES): Add aarch32-linux-nat.o.
+ * configure.tgt (aarch64*-*-linux*): Add arm-tdep.o and
+ arm-linux-tdep.o.
+
+2015-07-07 Yao Qi <yao.qi@linaro.org>
+
+ * aarch32-linux-nat.c: New file.
+ * aarch32-linux-nat.h: New file.
+ * arm-linux-nat.c: Include aarch32-linux-nat.h.
+ (fetch_regs): Move code to aarch32-linux-nat.c. Call
+ aarch32_gp_regcache_supply.
+ (store_regs): Move code to aarch32-linux-nat.c. Call
+ aarch32_gp_regcache_collect.
+ (fetch_vfp_regs): Move code to aarch32-linux-nat.c. Call
+ aarch32_vfp_regcache_supply.
+ (store_vfp_regs): Move code to aarch32-linux-nat.c. Call
+ aarch32_vfp_regcache_collect.
+ * config/arm/linux.mh (NATDEPFILES): Add aarch32-linux-nat.o.
+
+2015-07-07 Yao Qi <yao.qi@linaro.org>
+
+ * arm-linux-nat.c (store_fpregister): Remove.
+ (store_register): Likewise.
+ (fetch_fpregister): Likewise.
+ (fetch_register): Likewise.
+ (arm_linux_store_inferior_registers): Call store_regs and
+ store_fpregs instead.
+ (arm_linux_fetch_inferior_registers): Call fetch_fpregs and
+ fetch_regs instead.
+
+2015-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * doc/gdb.texinfo (TUI): Restructure documentation on TUI layout
+ and focus commands.
+
+2015-07-06 Joel Brobecker <brobecker@adacore.com>
+
+ * NEWS: Create a new section for the next release branch.
+ Rename the section of the current branch, now that it has
+ been cut.
+
+2015-07-06 Joel Brobecker <brobecker@adacore.com>
+
+ GDB 7.10 branch created (66c4b3e8a628a207bc6aafef6af0c4128195f56e):
+ * version.in: Bump version to 7.10.50.DATE-cvs.
+
+2015-07-06 Luis Machado <lgustavo@codesourcery.com>
+
+ * breakpoint.c (remove_breakpoint_1): Don't handle permanent
+ breakpoints in a special way.
+ (remove_breakpoint): Likewise.
+ (mark_breakpoints_out): Likewise.
+
+2015-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * doc/gdb.texinfo (TUI): Add comma after @xref.
+
+2015-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * tui/tui-win.c (tui_set_focus): Use structure member 'generic'
+ instead of casting the structure type.
+
+2015-07-06 Simon Marchi <simon.marchi@ericsson.com>
+
+ * valops.c (search_struct_field): Remove OFFSET parameter.
+ (value_cast_structs): Adjust calls to search_struct_field.
+ (value_struct_elt): Same.
+ (find_overload_match): Same.
+
+2015-07-06 Simon Marchi <simon.marchi@ericsson.com>
+
+ * value.c (value_fetch_lazy): Update comment, change return
+ value to void.
+ * value.h (value_fetch_lazy): Change return value to void.
+
+2015-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * tui/tui-data.c (tui_partial_win_by_name): Window name is const.
+ (tui_win_name): Make parameter and result const.
+ * tui/tui-data.h (tui_win_name): Make parameter and result const.
+
+2015-07-06 Patrick Palka <patrick@parcs.ath.cx>
+
+ * i386-tdep.c (i386_mpx_info_bounds): Don't call error, instead
+ use printf_unfiltered.
+ (set_mpx_cmd): Add missing trailing space to command string
+ literal.
+ (_initialize_i386_tdep): Give the "mpx" prefix command its
+ correct name.
+
+2015-07-02 Kevin Buettner <kevinb@redhat.com>
+
+ * rx-tdep.c (RX_USP_REGNUM, RX_BPC_REGNUM): New constants.
+ (enum rx_frame_type): New.
+ (struct rx_prologue): Add new field `frame_type'.
+ (rx_analyze_prologue): Add `frame_type' parameter. Cache this
+ parameter in the prologue struct. Add code for recording
+ locations of PC and PSW for fast interrupt and exception frames.
+ (rx_skip_prologue): Adjust call to rx_analyze_prologue.
+ (rx_analyze_frame_prologue): Add `frame_type' parameter.
+ (rx_frame_type): New function.
+ (rx_frame_base): Fetch frame type and pass it to rx_analyze_prologue.
+ (rx_frame_this_id): Rename parameter `this_prologue_cache' to
+ `this_cache'.
+ (rx_frame_prev_register): Rename parameter `this_prologue_cache' to
+ `this_cache'. Add cases for RX_FRAME_TYPE_EXCEPTION and
+ RX_FRAME_TYPE_FAST_INTERRUPT.
+ (normal_frame_p, exception_frame_p, rx_frame_sniffer_common)
+ (rx_frame_sniffer, rx_exception_sniffer): New functions.
+ (rx_frame_unwind): Use rx_frame_sniffer instead of
+ default_frame_sniffer.
+ (rx_frame_unwind): New unwinder.
+ (rx_gdbarch_init): Register new unwinder.
+
+2015-07-02 Kevin Buettner <kevinb@redhat.com>
+
+ * rx-tdep.c (RX_BPSW_REGNUM, RX_FPSW_REGNUM): New constants.
+ (struct gdbarch_tdep): Add fields rx_psw_type and rx_fpsw_type.
+ (rx_register_type): Add cases for RX_PSW_REGNUM, RX_BPSW_REGNUM,
+ and RX_FPSW_REGNUM.
+ (rx_gdbarch_init): Initialize PSW, BPSW, and FPSW flags types.
+
+2015-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix GCC false warning.
+ * s390-linux-tdep.c (s390_handle_arg): Initialize VAL.
+
+2015-07-02 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Fix
+ typo in the debugging message.
+
+2015-07-02 Markus Metzger <markus.t.metzger@intel.com>
+
+ * btrace.c: Include gdbcmd.h, cli/cli-utils.h, and ctype.h.
+ (maint_btrace_cmdlist, maint_btrace_set_cmdlist)
+ (maint_btrace_show_cmdlist, maint_btrace_pt_set_cmdlist)
+ (maint_btrace_pt_show_cmdlist, maint_btrace_pt_skip_pad)
+ (btrace_maint_clear): New.
+ (btrace_fetch, btrace_clear): Call btrace_maint_clear.
+ (pt_print_packet, btrace_maint_decode_pt)
+ (btrace_maint_update_pt_packets, btrace_maint_update_packets)
+ (btrace_maint_print_packets, get_uint, get_context_size, no_chunk)
+ (maint_btrace_packet_history_cmd)
+ (maint_btrace_clear_packet_history_cmd, maint_btrace_clear_cmd)
+ (maint_btrace_cmd, maint_btrace_set_cmd, maint_btrace_show_cmd)
+ (maint_btrace_pt_set_cmd, maint_btrace_pt_show_cmd)
+ (maint_info_btrace_cmd, _initialize_btrace): New.
+ * btrace.h (btrace_pt_packet, btrace_pt_packet_s)
+ (btrace_maint_packet_history, btrace_maint_info): New.
+ (btrace_thread_info) <maint>: New.
+ * NEWS: Announce it.
+
+2015-07-02 Markus Metzger <markus.t.metzger@intel.com>
+
+ * btrace.c (btrace_fetch): Append the new trace data.
+ (btrace_clear): Clear the stored trace data.
+ * btrace.h (btrace_thread_info) <data>: New.
+ * common/btrace-common.h (btrace_data_clear)
+ (btrace_data_append): New.
+ * common/btrace-common.c (btrace_data_clear)
+ (btrace_data_append): New.
+
+2015-07-02 Markus Metzger <markus.t.metzger@intel.com>
+
+ * nat/linux-btrace.c (linux_enable_bts): Check for
+ PERF_ATTR_SIZE_VER5.
+ Check for data_offset and data_size fields. Use them.
+
+2015-07-02 Markus Metzger <markus.t.metzger@intel.com>
+
+ * NEWS: Announce new commands "record btrace pt" and "record pt".
+ Announce new options "set|show record btrace pt buffer-size".
+ * btrace.c: Include "rsp-low.h".
+ Include "inttypes.h".
+ (btrace_add_pc): Add forward declaration.
+ (pt_reclassify_insn, ftrace_add_pt, btrace_pt_readmem_callback)
+ (pt_translate_cpu_vendor, btrace_finalize_ftrace_pt)
+ (btrace_compute_ftrace_pt): New.
+ (btrace_compute_ftrace): Support BTRACE_FORMAT_PT.
+ (check_xml_btrace_version): Update version check.
+ (parse_xml_raw, parse_xml_btrace_pt_config_cpu)
+ (parse_xml_btrace_pt_raw, parse_xml_btrace_pt)
+ (btrace_pt_config_cpu_attributes, btrace_pt_config_children)
+ (btrace_pt_children): New.
+ (btrace_children): Add support for "pt".
+ (parse_xml_btrace_conf_pt, btrace_conf_pt_attributes): New.
+ (btrace_conf_children): Add support for "pt".
+ * btrace.h: Include "intel-pt.h".
+ (btrace_pt_error): New.
+ * common/btrace-common.c (btrace_format_string, btrace_data_fini)
+ (btrace_data_empty): Support BTRACE_FORMAT_PT.
+ * common/btrace-common.h (btrace_format): Add BTRACE_FORMAT_PT.
+ (struct btrace_config_pt): New.
+ (struct btrace_config)<pt>: New.
+ (struct btrace_data_pt_config, struct btrace_data_pt): New.
+ (struct btrace_data)<pt>: New.
+ * features/btrace-conf.dtd (btrace-conf)<pt>: New.
+ (pt): New.
+ * features/btrace.dtd (btrace)<pt>: New.
+ (pt, pt-config, cpu): New.
+ * nat/linux-btrace.c (perf_event_read, perf_event_read_all)
+ (perf_event_pt_event_type, kernel_supports_pt)
+ (linux_supports_pt): New.
+ (linux_supports_btrace): Support BTRACE_FORMAT_PT.
+ (linux_enable_bts): Free tinfo on error.
+ (linux_enable_pt): New.
+ (linux_enable_btrace): Support BTRACE_FORMAT_PT.
+ (linux_disable_pt): New.
+ (linux_disable_btrace): Support BTRACE_FORMAT_PT.
+ (linux_fill_btrace_pt_config, linux_read_pt): New.
+ (linux_read_btrace): Support BTRACE_FORMAT_PT.
+ * nat/linux-btrace.h (struct btrace_tinfo_pt): New.
+ (struct btrace_target_info)<pt>: New.
+ * record-btrace.c (set_record_btrace_pt_cmdlist)
+ (show_record_btrace_pt_cmdlist): New.
+ (record_btrace_print_pt_conf): New.
+ (record_btrace_print_conf): Support BTRACE_FORMAT_PT.
+ (btrace_ui_out_decode_error): Support BTRACE_FORMAT_PT.
+ (cmd_record_btrace_pt_start): New.
+ (cmd_record_btrace_start): Support BTRACE_FORMAT_PT.
+ (cmd_set_record_btrace_pt, cmd_show_record_btrace_pt): New.
+ (_initialize_record_btrace): Add new commands.
+ * remote.c (PACKET_Qbtrace_pt, PACKET_Qbtrace_conf_pt_size): New.
+ (remote_protocol_features): Add "Qbtrace:pt".
+ Add "Qbtrace-conf:pt:size".
+ (remote_supports_btrace): Support BTRACE_FORMAT_PT.
+ (btrace_sync_conf): Support PACKET_Qbtrace_conf_pt_size.
+ (remote_enable_btrace): Support BTRACE_FORMAT_PT.
+ (_initialize_remote): Add new commands.
+
+2015-07-02 Markus Metzger <markus.t.metzger@intel.com>
+
+ * configure.ac: check for libipt
+ * configure: Regenerate.
+ * config.in: Regenerate.
+ * Makefile.in (LIBIPT): New.
+ (CLIBS): Add $LIBIPT.
+ * NEWS: document new configure options
+
+2015-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * compile/compile-object-load.c (compile_object_load): Replace debug
+ message "lookup undefined ELF symbol" by 3 more specific messages.
+
+2015-07-01 Kevin Buettner <kevinb@redhat.com>
+
+ * rl78-tdep.c (struct gdbarch_tdep): Add new field, rl78_psw_type.
+ (rl78_register_type): Add case for RL78_PSW_REGNUM.
+ (rl78_gdbarch_init): Initialize rl78_psw_type.
+
+2015-07-01 Patrick Palka <patrick@parcs.ath.cx>
+
+ * tui/tui-hooks.c (tui_refresh_frame_and_register_information):
+ Update commentary. Always refresh the registers when frame
+ information has changed.
+ * tui/tui-stack.c (tui_show_frame_info): Update commentary.
+ Change return type to int. Return 1 if frame information has
+ changed, 0 otherwise.
+ (tui_before_prompt): Update commentary.
+ * tui/tui-stack.h (tui_show_frame_info): Change return type to
+ int.
+
+2015-06-30 Patrick Palka <patrick@parcs.ath.cx>
+
+ PR tui/13378
+ * frame.c (select_frame): Remove reference to
+ deprecated_selected_frame_level_changed_hook.
+ * frame.h (deprecated_selected_frame_level_changed_hook): Remove
+ declaration.
+ * stack.c (deprecated_selected_frame_level_changed_hook):
+ Likewise.
+ * tui/tui-hooks.c (tui_selected_frame_level_changed_hook):
+ Rename to ...
+ (tui_refresh_frame_and_register_information): ... this. Bail
+ out if there is no stack. Don't update register information
+ unless registers_too_p is true.
+ (tui_print_frame_info_listing_hook): Rename to ...
+ (tui_dummy_print_frame_info_listing_hook): ... this.
+ (tui_before_prompt): New function.
+ (tui_normal_stop): New function.
+ (tui_before_prompt_observer): New observer.
+ (tui_normal_stop_observer): New observer.
+ (tui_install_hooks): Set
+ deprecated_print_frame_info_listing_hook to
+ tui_dummy_print_frame_info_listing_hook. Register
+ tui_before_prompt_observer to call tui_before_prompt and
+ tui_normal_stop_observer to call tui_normal_stop. Remove
+ reference to deprecated_selected_frame_level_changed_hook.
+ (tui_remove_hooks): Detach and unset tui_before_prompt_observer
+ and tui_normal_stop_observer. Remove reference to
+ deprecated_selected_frame_level_changed_hook.
+
+2015-06-30 Patrick Palka <patrick@parcs.ath.cx>
+
+ PR tui/13378
+ * tui/tui-stack.c (tui_set_locator_info): Change prototype to
+ return an int instead of void. Return whether the locator
+ window has changed.
+ (tui_show_frame_info): If the locator info has not changed, then
+ bail out early to avoid refreshing the windows.
+
+2015-06-30 Patrick Palka <patrick@parcs.ath.cx>
+
+ * tui/tui-stack.c (tui_set_locator_info): Explicitly pass
+ LOCATOR_WIN to tui_alloc_content.
+
+2015-06-30 Yao Qi <yao.qi@linaro.org>
+
+ PR tdep/18605
+ * arm-tdep.c (arm_get_next_pc_raw): Break for media
+ instructions.
+
+2015-06-29 Kevin Buettner <kevinb@redhat.com>
+
+ * rx-tdep.c (RX_PSW_REGNUM): New enum constant.
+ (rx_dwarf_reg_to_regnum): New function.
+ (rx_gdbarch_init): Register rx_dwarf_reg_to_regnum. Use dwarf2
+ unwinding.
+
+2015-06-29 Pedro Alves <palves@redhat.com>
+
+ PR threads/18127
+ * infcall.c (run_inferior_call): On infcall success, if the thread
+ was marked stopped before, reset it back to stopped.
+ * infrun.c (resume): Don't suppress the set_running calls when
+ doing an infcall.
+ (normal_stop): Only discard the finish_thread_state cleanup if the
+ infcall succeeded.
+
+2015-06-29 Pierre Langlois <pierre.langlois@arm.com>
+
+ * MAINTAINERS (Write After Approval): Update my email address.
+
+2015-06-26 Keith Seitz <keiths@redhat.com>
+ Doug Evans <dje@google.com>
+
+ PR 16253
+ * block.c (block_lookup_symbol): For non-function blocks,
+ continue to search for a symbol with an exact domain match
+ Otherwise, return any previously found "best domain" symbol.
+ (block_lookup_symbol_primary): Likewise.
+
+2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
+
+ * NEWS: Mention the new option "history remove-duplicates".
+ * top.c (history_remove_duplicates): New static variable.
+ (show_history_remove_duplicates): New static function.
+ (gdb_add_history): Conditionally remove duplicate history
+ entries.
+ (init_main): Add "history remove-duplicates" option.
+
+2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
+
+ * tui/tui-win.c (focus_completer): New static function.
+ (_initialize_tui_win): Set the completion function of the
+ "focus" command to focus_completer.
+
+2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * linespec.c (minsym_found): Reset sal.PC for COMPUNIT_LOCATIONS_VALID
+ and language_asm..
+ * symtab.c (find_function_start_sal): Likewise.
+
+2015-06-25 Gary Benson <gbenson@redhat.com>
+
+ * solib.c (solib_find_1): Set local variable sysroot to NULL if
+ it is the empty string after trailing slashes have been stripped.
+
+2015-06-25 Gary Benson <gbenson@redhat.com>
+
+ * exec.c (exec_file_locate_attach): Remove gdb_sysroot NULL check.
+ * infrun.c (follow_exec): Likewise.
+ * remote.c (remote_filesystem_is_local): Likewise.
+ * solib.c (solib_find_1): Likewise.
+
+2015-06-24 Keith Seitz <keiths@redhat.com>
+
+ * build-id.c (build_id_to_debug_bfd): Add cleanup to free
+ return value from lrealpath.
+
+2015-06-24 Mike Frysinger <vapier@gentoo.org>
+
+ * remote-sim.c (gdbsim_open): Move sysroot update to the top.
+
+2015-06-24 Mike Frysinger <vapier@gentoo.org>
+
+ * remote-sim.c: Include gdb_bfd.h.
+ (gdbsim_open): Declare new local sysroot pointing to gdb_sysroot.
+ Skip TARGET_SYSROOT_PREFIX in gdb_sysroot when it is active.
+
+2015-06-24 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-linux-tdep.c (aarch64_linux_init_abi): Don't call
+ set_gdbarch_get_siginfo_type.
+ * amd64-linux-tdep.c (amd64_linux_init_abi_common): Likewise.
+ * arm-linux-tdep.c (arm_linux_init_abi): Likewise.
+ * i386-linux-tdep.c (i386_linux_init_abi): Likewise.
+ * m68klinux-tdep.c (m68k_linux_init_abi): Likewise.
+ * ppc-linux-tdep.c (ppc_linux_init_abi): Likewise.
+ * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
+ * tilegx-linux-tdep.c (tilegx_linux_init_abi): Likewise.
+ * linux-tdep.c (linux_get_siginfo_type): Change it to static.
+ (linux_init_abi): Call set_gdbarch_get_siginfo_type.
+ * linux-tdep.h (linux_get_siginfo_type): Remove the declaration.
+
+2015-06-24 Gary Benson <gbenson@redhat.com>
+
+ * common/buffer.c (stdint.h): Do not include.
+ * common/print-utils.c (stdint.h): Likewise.
+ * compile/compile-c-symbols.c (gdb_assert.h): Likewise.
+ * compile/compile-c-types.c (gdb_assert.h): Likewise.
+ * ft32-tdep.c (gdb_assert.h): Likewise.
+ * guile/scm-utils.c (stdint.h): Likewise.
+ * i386-linux-tdep.c (stdint.h): Likewise.
+ * i386-tdep.c (stdint.h): Likewise.
+ * nat/linux-btrace.c (stdint.h): Likewise.
+ * nat/linux-btrace.h (stdint.h): Likewise.
+ * nat/linux-ptrace.c (stdint.h): Likewise.
+ * nat/mips-linux-watch.h (stdint.h): Likewise.
+ * ppc-linux-nat.c (stdint.h): Likewise.
+ * python/python-internal.h (stdint.h): Likewise.
+ * stub-termcap.c (stdlib.h): Likewise.
+ * target/target.h (stdint.h): Likewise.
+ * xtensa-linux-nat.c (stdint.h): Likewise.
+
+2015-06-23 Patrick Palka <patrick@parcs.ath.cx>
+
+ * top.c (init_history): Look at errno after calling strtol to
+ properly map large GDBHISTSIZE values to infinity.
+
+2015-06-23 Doug Evans <dje@google.com>
+
+ * inferior.h (struct inferior_suspend_state): Delete, unused.
+ All references deleted.
+
+2015-06-23 Mike Frysinger <vapier@gentoo.org>
+
+ * microblaze-tdep.c (microblaze_push_dummy_code): Delete.
+ (microblaze_push_dummy_call): Likewise.
+ (microblaze_gdbarch_init): Delete calls to set_gdbarch_push_dummy_code
+ and set_gdbarch_push_dummy_call.
+
+2015-06-23 Yao Qi <yao.qi@linaro.org>
+
+ * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers):
+ Check whether have_ptrace_getregset is TRIBOOL_TRUE explicitly.
+ (amd64_linux_store_inferior_registers): Likewise.
+ * arm-linux-nat.c (fetch_fpregister): Likewise.
+ (fetch_fpregs, store_fpregister): Likewise.
+ (store_fpregister, store_fpregs): Likewise.
+ (fetch_register, fetch_regs): Likewise.
+ (store_register, store_regs): Likewise.
+ (fetch_vfp_regs, store_vfp_regs): Likewise.
+ (arm_linux_read_description): Check have_ptrace_getregset is
+ TRIBOOL_UNKNOWN. Set have_ptrace_getregset to TRIBOOL_TRUE
+ or TRIBOOL_FALSE.
+ * i386-linux-nat.c (fetch_xstateregs): Check
+ have_ptrace_getregset is not TRIBOOL_TRUE.
+ (store_xstateregs): Likewise.
+ * linux-nat.c (have_ptrace_getregset): Change its type to
+ enum tribool.
+ * linux-nat.h (tribool): New enum.
+ * x86-linux-nat.c (x86_linux_read_description): Use enum tribool.
+ Check whether have_ptrace_getregset is TRIBOOL_TRUE.
+
+2015-06-19 Doug Evans <dje@google.com>
+
+ * NEWS: Mention Sun's version of stabs is no longer supported.
+ * elfread.c (free_elfinfo): Delete. All uses updated.
+ (elfstab_offset_sections): Delete. All uses updated.
+ * gdb-stabs.h (stab_section_info): Delete. All uses updated.
+ * psympriv.h (partial_symtab) <section_offsets>: Delete.
+ All uses updated.
+ * psymtab.c (start_psymtab_common): Delete arg section_offsets.
+ All callers updated.
+
+2015-06-18 Simon Marchi <simon.marchi@ericsson.com>
+
+ * common/rsp-low.c (needs_escaping): New.
+ (remote_escape_output): Add unit_size parameter. Refactor to
+ support multi-byte addressable units. Rename parameters.
+ * common/rsp-low.h (remote_escape_output): Add unit_size
+ parameter and rename others. Update doc.
+ * remote.c (align_for_efficient_write): New.
+ (remote_write_bytes_aux): Add unit_size parameter and use it.
+ Rename some variables. Update doc.
+ (remote_xfer_partial): Get unit size and use it.
+ (remote_read_bytes_1): Add unit_size parameter and use it.
+ Rename some variables. Update doc.
+ (remote_write_bytes): Same.
+ (remote_xfer_live_readonly_partial): Same.
+ (remote_read_bytes): Same.
+ (remote_flash_write): Update call to remote_write_bytes_aux.
+ (remote_write_qxfer): Update call to remote_escape_output.
+ (remote_search_memory): Same.
+ (remote_hostio_pwrite): Same.
+
+2015-06-17 Luis Machado <lgustavo@codesourcery.com>
+
+ * breakpoint.c (add_location_to_breakpoint): Don't mark permanent
+ locations as inserted.
+ Update and expand comment about permanent locations.
+ (bp_loc_is_permanent): Don't return 0 for bp_call_dummy.
+ Move comment to add_location_to_breakpoint.
+ (update_global_location_list): Don't error out if a permanent
+ breakpoint is not marked inserted.
+ Don't error out if a non-permanent breakpoint location is inserted on
+ top of a permanent breakpoint.
+
+2015-06-17 Luis Machado <lgustavo@codesourcery.com>
+
+ * breakpoint.c (make_breakpoint_permanent): Remove unused
+ function.
+ * breakpoint.h (make_breakpoint_permanent): Remove declaration.
+
+2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
+
+ PR gdb/16999
+ * NEWS: Mention new GDBHISTSIZE behavior.
+ * top.c (init_history): For null or out-of-range GDBHISTSIZE,
+ set history size to unlimited. Ignore non-numeric GDBHISTSIZE.
+
+2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
+
+ * NEWS: Mention that GDBHISTSIZE is read instead of HISTSIZE.
+ * top.c (init_history): Read from GDBHISTSIZE instead of
+ HISTSIZE.
+ (init_main): Refer to GDBHISTSIZE instead of HISTSIZE.
+
+2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
+
+ * top.c (gdb_safe_append_history): Do not call
+ history_truncate_file if the history is not stifled.
+
+2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * syscalls/s390-linux.xml: Add syscalls 344 through 354.
+ * syscalls/s390x-linux.xml: Likewise.
+
+2015-06-16 Michael Eager <eager@eagercon.com>
+
+ * nat/linux-namespaces.c (MSG_CMSG_CLOEXEC): Define if not defined.
+
+2015-06-16 Patrick Palka <patrick@parcs.ath.cx>
+
+ * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Call
+ target_terminal_ours_for_output() before calling
+ tui_show_frame_info(), and restore the original terminal
+ settings afterwards.
+
+2015-06-16 Martin Simmons <martin@lispworks.com> (tiny patch)
+
+ * arm-linux-nat.c: Include nat/linux-ptrace.h.
+
+2015-06-15 Simon Marchi <simon.marchi@ericsson.com>
+
+ * mi/mi-main.c (mi_cmd_data_read_memory_bytes): Consider addressable
+ memory unit size.
+ (mi_cmd_data_write_memory_bytes): Same.
+
+2015-06-15 Simon Marchi <simon.marchi@ericsson.com>
+
+ * corefile.c (write_memory): Update doc.
+ * gdbcore.h (write_memory): Same.
+
+2015-06-15 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * linux-tdep.c (enum filterflags): Make it from anonymous enum.
+ (dump_mapping_p): Use it for parameter filterflags.
+ (linux_find_memory_regions_full): Use it for variable filterflags.
+
+2015-06-15 Aleksandar Ristovski <aristovski@qnx.com
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Merge multiple hex conversions.
+ * monitor.c: Include rsp-low.h.
+ (fromhex): Remove definition.
+
+2015-06-15 Aleksandar Ristovski <aristovski@qnx.com
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Move utility functions to common/.
+ * cli/cli-utils.c (skip_spaces, skip_spaces_const, skip_to_space_const):
+ Move defs to common/common-utils.c.
+ * cli/cli-utils.h (skip_spaces, skip_spaces_const, skip_to_space)
+ (skip_to_space_const): Move decls to common/common-utils.h.
+ * common/common-defs.h: Move include of common-types.h before
+ common-utils.h.
+ * common/common-utils.c: Include host-defs.h and ctype.h.
+ (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int, strtoulst): Move
+ from utils.c.
+ (skip_spaces, skip_spaces_const, skip_to_space_const): Move from
+ cli/cli-utils.c.
+ * common/common-utils.h (strtoulst): Move decl from utils.h.
+ (skip_spaces, skip_spaces_const, skip_to_space, skip_to_space_const):
+ Move from cli/cli-utils.h.
+ * common/host-defs.h: Include limits.h.
+ (TARGET_CHAR_BIT, HOST_CHAR_BIT): Moved from defs.h.
+ (skip_spaces, skip_spaces_const): Move decls from cli/cli-utils.h.
+ * defs.h (TARGET_CHAR_BIT, HOST_CHAR_BIT): Move to
+ common/common-utils.h.
+ * utils.c (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int)
+ (strtoulst): Move to common/common-utils.c.
+ * utils.h (strtoulst): Moved decl to common/common-utils.h.
+
+2015-06-15 Yao Qi <yao.qi@linaro.org>
+
+ * data-directory/Makefile.in (SYSCALLS_FILES): Add aarch64-linux.xml.
+
+2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
+
+ * build-id.c: Don't include elf-bfd.h.
+ (build_id_bfd_get): Use bfd_build_id.
+ (build_id_verify): Ditto.
+ * build-id.h: Ditto.
+ (find_separate_debug_file_by_buildid): Ditto.
+ * python/py-objfile.c: Don't include elf-bfd.h.
+ (objfpy_get_build_id) Use bfd_build_id.
+ (objfpy_build_id_matches, objfpy_lookup_objfile_by_build_id): Ditto.
+ * coffread.c: Include build-id.h.
+ (coff_symfile_read): Try find_separate_debug_file_by_buildid.
+
+2015-06-03 Jon Turney <jon.turney@dronecode.org.uk>
+
+ * windows-nat.c (do_windows_fetch_inferior_registers)
+ (handle_output_debug_string): Replace __COPY_CONTEXT_SIZE
+ conditional with __CYGWIN__.
+
+2015-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * completer.c: Add arch-utils.h include.
+ (enum reg_completer_targets): New enum.
+ (reg_or_group_completer_1): New function containing old
+ reg_or_group_completer, add and use new parameter to control what
+ is completed on. Use get_current_arch rather than architecture of
+ currently selected frame.
+ (reg_or_group_completer): Call new reg_or_group_completer_1.
+ (reggroup_completer): Call new reg_or_group_completer_1.
+ * completer.h (reggroup_completer): Add declaration.
+ * tui/tui-regs.c: Add 'completer.h' include.
+ (tui_reg_next_command): Renamed to...
+ (tui_reg_next): ...this. Adjust parameters and return rather than
+ display new group.
+ (tui_reg_prev_command): Renamed to...
+ (tui_reg_prev): ...this. Adjust parameters and return rather than
+ display new group.
+ (tui_reg_float_command): Delete.
+ (tui_reg_general_command): Delete.
+ (tui_reg_system_command): Delete.
+ (tui_reg_command): Rewrite to perform switching of register group.
+ Add header comment.
+ (tuireglist): Remove.
+ (tui_reggroup_completer): New function.
+ (_initialize_tui_regs): Remove 'tui reg' sub-commands, update
+ creation of 'tui reg' command.
+ * NEWS: Add comment about 'tui reg' changes.
+
+2015-06-12 Simon Marchi <simon.marchi@ericsson.com>
+
+ * target.c (target_read): Consider addressable unit size when
+ reading from a memory object.
+ (read_memory_robust): Same.
+ (read_whatever_is_readable): Same.
+ (target_write_with_progress): Consider addressable unit size
+ when writing to a memory object.
+ * target.h (target_read): Update documentation.
+ (target_write): Add documentation.
+
+2015-06-12 Simon Marchi <simon.marchi@ericsson.com>
+
+ * arch-utils.h (default_addressable_memory_unit_size): New.
+ * arch-utils.c (default_addressable_memory_unit_size): New.
+ * gdbarch.sh (addressable_memory_unit_size): New.
+ * gdbarch.h: Re-generate.
+ * gdbarch.c: Re-generate.
+
+2015-06-12 Simon Marchi <simon.marchi@ericsson.com>
+
+ * target.c (target_read): Rename variables and use
+ TARGET_XFER_E_IO.
+ (target_read_with_progress): Same.
+ (read_memory_robust): Constify parameters and rename
+ variables.
+ (read_whatever_is_readable): Constify parameters,
+ rename variables, adjust formatting.
+ * target.h (read_memory_robust): Constify parameters.
+
+2015-06-12 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value_base): Handle short
+ synthetic (non-AltiVec) vector types.
+ (ppc64_sysv_abi_return_value): Likewise.
+
+2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+ PR breakpoints/16465
+ * breakpoint.c (create_breakpoint): Save extra_string for
+ pending breakpoints.
+
+2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * i386-tdep.c (i386_mpx_get_bt_entry): Add a cast for mpx_bd_mask
+ and bt_mask to CORE_ADDR.
+
+2015-06-11 Gary Benson <gbenson@redhat.com>
+
+ * nat/linux-namespaces.c (mnsh_send_message): Use pulongest.
+ (mnsh_recv_message): Likewise.
+
+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.