+2017-03-20 Artemiy Volkov <artemiyv@acm.org>
+
+ PR gdb/14441
+ * gdbtypes.h (enum type_code) <TYPE_CODE_RVALUE_REF>: New constant.
+ (TYPE_IS_REFERENCE): New macro.
+ (struct type): Add rvalue_reference_type field.
+ (TYPE_RVALUE_REFERENCE_TYPE): New macro.
+
+2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
+
+ * NEWS: Add an entry about new '-file-list-shared-libraries' command.
+ * mi/mi-cmd-file.c (mi_cmd_file_list_shared_libraries):
+ New function definition.
+ * mi/mi-cmds.c (mi_cmds): Add -file-list-shared-libraries command.
+ * mi/mi-cmds.h (mi_cmd_file_list_shared_libraries):
+ New function declaration.
+ * mi/mi-interp.c (mi_output_solib_attribs): New Function.
+ * mi/mi-interp.h: New file.
+ * solib.c (info_sharedlibrary_command): Replace for loop with
+ ALL_SO_LIBS macro
+ * solib.h (update_solib_list): New function declaration.
+ (so_list_head): Move macro.
+ * solist.h (ALL_SO_LIBS): New macro.
+
+2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
+
+ * infcmd.c (post_create_inferior): Remove unused argument in
+ call to solib_add.
+ * remote.c (remote_start_remote): Likewise.
+ * solib-frv.c (frv_fetch_objfile_link_map): Likewise.
+ * solib-svr4.c: (svr4_fetch_objfile_link_map): Likewise.
+ (enable_break): Likewise.
+ * solib.c (update_solib_list): Remove unused target argument
+ and its documentation.
+ (solib_add): Remove unused target argument. Remove unused
+ argument in call to update_solib_list.
+ (info_sharedlibrary_command): Remove unused argument in call
+ to update_solib_list.
+ (sharedlibrary_command): Remove unused argument in call to
+ solib_add.
+ (handle_solib_event): Likewise.
+ (reload_shared_libraries): Likewise.
+ * solib.h (solib_add): Remove unused target argument.
+
+2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * s390-linux-tdep.c (is_rsi, is_rie): Remove functions.
+ (s390_displaced_step_fixup): Cover relative branches with the
+ default fixup handling. This fixes lack of support for some
+ relative branch instructions.
+
+2017-03-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * i386-gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Use
+ ptid from regcache.
+
+2017-03-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers,
+ i386_darwin_store_inferior_registers): Use ptid from regcache.
+
+2017-03-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * i386-bsd-nat.c (i386bsd_fetch_inferior_registers,
+ i386bsd_store_inferior_registers): Use ptid from regcache.
+
+2017-03-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * hppa-obsd-nat.c (hppaobsd_fetch_registers,
+ hppaobsd_store_registers): Use ptid from regcache.
+
+2017-03-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * hppa-nbsd-nat.c (hppanbsd_fetch_registers,
+ hppanbsd_store_registers): Use ptid from regcache.
+
+2017-03-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * hppa-linux-nat.c (fetch_register, store_register): Use ptid
+ from regcache. Use get_ptrace_pid.
+
+2017-03-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * corelow.c (get_core_register_section): Use ptid from regcache,
+ update doc.
+
+2017-03-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * bsd-uthread.c (bsd_uthread_fetch_registers,
+ bsd_uthread_store_registers): Use ptid from regcache, set and
+ restore inferior_ptid.
+
+2017-03-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * arm-nbsd-nat.c (fetch_register, fetch_regs, fetch_fp_register,
+ fetch_fp_regs, store_register, store_regs, store_fp_register,
+ store_fp_regs): Use ptid from regcache.
+
+2017-03-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * arm-linux-nat.c (fetch_fpregs, store_fpregs, fetch_regs,
+ store_regs, fetch_wmmx_regs, store_wmmx_regs, fetch_vfp_regs,
+ store_vfp_regs): Use ptid from regcache.
+
+2017-03-17 Pedro Alves <palves@redhat.com>
+
+ PR remote/21188
+ * ser-base.c (ser_base_wait_for): Add comment.
+ (do_ser_base_readchar): Improve comment based on the ser-unix.c's
+ version.
+ * ser-unix.c (hardwire_raw): Remove reference to
+ scb->current_timeout.
+ (wait_for, do_hardwire_readchar, hardwire_readchar): Delete.
+ (hardwire_ops): Install ser_base_readchar instead of
+ hardwire_readchar.
+ * serial.h (struct serial) <current_timeout, timeout_remaining>:
+ Remove fields.
+
+2017-03-17 Jonah Graham <jonah@kichwacoders.com>
+
+ PR gdb/19637
+ * python/lib/gdb/printer/bound_registers.py: Add support for
+ Python 3.
+
+2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * dwarf2loc.c (indirect_synthetic_pointer): Get data type of
+ pointed-to DIE and pass it to dwarf2_evaluate_loc_desc_full.
+ (dwarf2_evaluate_loc_desc_full): New parameter subobj_type; rename
+ byte_offset to subobj_byte_offset. Fix the handling of
+ DWARF_VALUE_STACK on big-endian targets when coming via an
+ implicit pointer.
+ (dwarf2_evaluate_loc_desc): Adjust call to
+ dwarf2_evaluate_loc_desc_full.
+ * dwarf2loc.h (dwarf2_fetch_die_type_sect_off): New declaration.
+ * dwarf2read.c (dwarf2_fetch_die_type_sect_off): New function.
+
+2017-03-16 Yao Qi <yao.qi@linaro.org>
+
+ * arm-tdep.c (thumb_record_misc): Decode CBNZ, CBZ, REV16,
+ and REVSH instructions.
+
+2017-03-16 Yao Qi <yao.qi@linaro.org>
+
+ * arm-tdep.c [GDB_SELF_TEST]: include "selftests.h".
+ (arm_record_test): Declare.
+ (_initialize_arm_tdep) [GDB_SELF_TEST]: call register_self_test.
+ (thumb_record_ld_st_reg_offset): Rewrite the opcode matching to
+ align with the manual.
+ (thumb_record_misc): Adjust the code order to align with the
+ manual.
+ (thumb2_record_decode_insn_handler): Fix instruction matching.
+ (instruction_reader_thumb): New class.
+ (arm_record_test): New function.
+
+2017-03-16 Yao Qi <yao.qi@linaro.org>
+
+ * arm-tdep.c (abstract_memory_reader): New class.
+ (instruction_reader): New class.
+ (extract_arm_insn): Add argument 'reader'. Callers updated.
+ (decode_insn): Likewise.
+
+2017-03-16 Doug Evans <dje@google.com>
+
+ * guile/scm-lazy-string.c (lazy_string_smob): Clarify use of LENGTH
+ member. Change type of TYPE member to SCM. All uses updated.
+ (lsscm_make_lazy_string_smob): Add assert.
+ (lsscm_make_lazy_string): Flag bad length values.
+ (lsscm_elt_type): New function.
+ (gdbscm_lazy_string_to_value): Rewrite to use
+ lsscm_safe_lazy_string_to_value.
+ (lsscm_safe_lazy_string_to_value): Fix handling of TYPE_CODE_PTR.
+ * guile/scm-value.c (gdbscm_value_to_lazy_string): Flag bad length
+ values. Fix TYPE_CODE_PTR. Handle TYPE_CODE_ARRAY. Handle typedefs
+ in incoming type.
+ * guile/guile-internal.h (tyscm_scm_to_type): Declare.
+ * guile/scm-type.c (tyscm_scm_to_type): New function.
+
+2017-03-15 Doug Evans <dje@google.com>
+
+ PR python/17728, python/18439, python/18779
+ * python/py-lazy-string.c (lazy_string_object): Clarify use of LENGTH
+ member. Change type of TYPE member to PyObject *. All uses updated.
+ (stpy_convert_to_value): Fix handling of TYPE_CODE_PTR.
+ (gdbpy_create_lazy_string_object): Flag bad length values.
+ Handle TYPE_CODE_ARRAY with possibly different user-provided length.
+ Handle typedefs in incoming type.
+ (stpy_lazy_string_elt_type): New function.
+ (gdbpy_extract_lazy_string): Call it.
+ * python/py-value.c (valpy_lazy_string): Flag bad length values.
+ Fix handling of TYPE_CODE_PTR. Handle TYPE_CODE_ARRAY. Handle
+ typedefs in incoming type.
+
+2017-03-16 Doug Evans <dje@google.com>
+
+ * guile/guile-internal.h (tyscm_scm_to_type): Declare.
+ * guile/scm-type.c (tyscm_scm_to_type): New function.
+
+2017-03-16 Jiong Wang <jiong.wang@arm.com>
+
+ * inf-ptrace.c (inf_ptrace_peek_poke): Change the type to
+ "ULONGEST" for "skip".
+
+2017-03-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ PR gdb/21220
+ * inf-ptrace.c (inf_ptrace_xfer_partial): In "case
+ TARGET_OBJECT_MEMORY", extract the logic for ptrace peek/poke...
+ (inf_ptrace_peek_poke): ...here. New function. Now also loop
+ over ptrace peek/poke until end of buffer or error.
+
+2017-03-14 Simon Marchi <simon.marchi@ericsson.com>
+
+ * parse.c (length_of_subexp): Make static.
+ * parser-defs.h (length_of_subexp): Remove.
+
+2017-03-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * linux-nat.c (linux_proc_xfer_partial): Handle write operations
+ as well.
+
+2017-03-14 Pedro Alves <palves@redhat.com>
+
+ * cp-name-parser.y (cp_demangled_name_to_comp): Update comment.
+ (main): Use std::unique_ptr. Remove calls to
+ cp_demangled_name_parse_free.
+
+2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * alpha-bsd-nat.c (alphabsd_fetch_inferior_registers,
+ alphabsd_store_inferior_registers): Use regcache->ptid instead
+ of inferior_ptid.
+
+2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * aix-thread.c (aix_thread_fetch_registers,
+ aix_thread_store_registers): Use regcache->ptid instead of
+ inferior_ptid.
+
+2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * aarch64-linux-nat.c (fetch_gregs_from_thread,
+ store_gregs_to_thread, fetch_fpregs_from_thread,
+ store_fpregs_to_thread): Use regcache->ptid instead of
+ inferior_ptid.
+
+2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers,
+ amd64_linux_fetch_inferior_registers): Use regcache->ptid
+ instead of inferior_ptid.
+
+2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * target.c (target_fetch_registers, target_store_registers): Add
+ assert.
+
+2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * regcache.h (regcache_get_ptid): New function.
+ * regcache.c (regcache_get_ptid): New function.
+
+2017-03-13 Mark Wielaard <mark@klomp.org>
+
+ * cp-name-parser.y (make_empty): Initialize d_printing to zero.
+
+2017-03-10 Keith Seitz <keiths@redhat.com>
+
+ PR c++/8218
+ * c-typeprint.c (cp_type_print_method_args): Skip artificial arguments.
+
+2017-03-08 Pedro Alves <palves@redhat.com>
+
+ PR gdb/18360
+ * infrun.c (start_step_over, do_target_resume, resume)
+ (restart_threads): Assert we're not resuming a thread that is
+ meant to be stopped.
+ (infrun_thread_stop_requested_callback): Delete.
+ (infrun_thread_stop_requested): If the thread is internally
+ stopped, queue a pending stop event and clear the thread's
+ inline-frame state.
+ (handle_stop_requested): New function.
+ (handle_syscall_event, handle_inferior_event_1): Use
+ handle_stop_requested.
+ (handle_stop_requested): New function.
+ (handle_signal_stop): Set the thread's stop_signal here instead of
+ at caller.
+ (finish_step_over): Clear step over info unconditionally.
+ (handle_signal_stop): If the user had interrupted the event
+ thread, consider the stop a random signal.
+ (handle_signal_stop) <signal arrived while stepping over
+ breakpoint>: Don't restart threads here.
+ (stop_waiting): Don't clear step-over info here.
+
+2017-03-08 Pedro Alves <palves@redhat.com>
+
+ PR 21206
+ * common/gdb_unlinker.h (unlinker::unlinker): Attribute nonnull
+ goes to argument 2, not 1.
+
+2017-03-08 Pedro Alves <palves@redhat.com>
+
+ PR cli/21218
+ * top.c (gdb_readline_wrapper): Avoid passing NULL to
+ display_gdb_prompt.
+ (command_line_input): Add comment.
+
+2017-03-08 Pedro Alves <palves@redhat.com>
+
+ PR tui/21216
+ * tui/tui-file.c (tui_file::write): New.
+ * tui/tui-file.h (tui_file): Override "write".
+ * tui/tui-io.c (do_tui_putc, update_start_line): New functions,
+ factored out from ...
+ (tui_puts): ... here.
+ (tui_putc): Use them.
+ (tui_write): New function.
+ * tui/tui-io.h (tui_write): Declare.
+
+2017-03-07 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * Makefile.in (SFILES): Replace "environ.c" with
+ "common/environ.c".
+ (HFILES_NO_SRCDIR): Likewise, for "environ.h".
+ * environ.c: Include "common-defs.h" instead of "defs.h. Moved
+ to...
+ * common/environ.c: ... here.
+ * environ.h: Moved to...
+ * common/environ.h: ... here.
+
+2017-03-07 Peter Bergner <bergner@vnet.ibm.com>
+
+ * gdbarch.sh (pstring_ptr): New static function.
+ (gdbarch_disassembler_options): Use it.
+ (gdbarch_verify_disassembler_options): Print valid_disassembler_options,
+ not valid_disassembler_option->name.
+ * gdbarch.c: Regenerate.
+
+2017-03-07 Peter Bergner <bergner@vnet.ibm.com>
+
+ * config/powerpc/ppc64-linux.mh (MH_CFLAGS): Delete.
+
+2017-03-07 Pedro Alves <palves@redhat.com>
+
+ * tui/tui-regs.c (tui_restore_gdbout): Don't delete gdb_stdout.
+
+2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * i387-tdep.h (i387_reset_bnd_regs): Add function definition.
+ * i387-tdep.c (i387_reset_bnd_regs): Add function implementation.
+ * i386-tdep.c (i386_push_dummy_call): Call i387_reset_bnd_regs.
+ * amd64-tdep.c (amd64_push_dummy_call): Call i387_reset_bnd_regs.
+
+2017-03-06 Simon Marchi <simon.marchi@ericsson.com>
+
+ * xtensa-linux-nat.c (fetch_gregs): Remove const.
+
+2017-03-03 Simon Marchi <simon.marchi@ericsson.com>
+
+ * remote.c (remote_add_target_side_commands): Use range-based
+ for loop.
+
+2017-03-03 Yao Qi <yao.qi@linaro.org>
+
+ PR gdb/21165
+ * ada-valprint.c (ada_val_print_ref): Call value_fetch_lazy if
+ value is lazy.
+ * valprint.c (common_val_print): Likewise.
+
+2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
+
+ * NEWS: Mention new set/show disassembler-options commands.
+ * doc/gdb.texinfo: Document new set/show disassembler-options commands.
+ * disasm.c: Include "arch-utils.h", "gdbcmd.h" and "safe-ctype.h".
+ (prospective_options): New static variable.
+ (gdb_disassembler::gdb_disassembler): Initialize
+ m_di.disassembler_options.
+ (gdb_buffered_insn_length_init_dis): Initilize di->disassembler_options.
+ (get_disassembler_options): New function.
+ (set_disassembler_options): Likewise.
+ (set_disassembler_options_sfunc): Likewise.
+ (show_disassembler_options_sfunc): Likewise.
+ (disassembler_options_completer): Likewise.
+ (_initialize_disasm): Likewise.
+ * disasm.h (get_disassembler_options): New prototype.
+ (set_disassembler_options): Likewise.
+ * gdbarch.sh (gdbarch_disassembler_options): New variable.
+ (gdbarch_verify_disassembler_options): Likewise.
+ * gdbarch.c: Regenerate.
+ * gdbarch.h: Likewise.
+ * arm-tdep.c (num_disassembly_options): Delete.
+ (set_disassembly_style): Likewise.
+ (arm_disassembler_options): New static variable.
+ (set_disassembly_style_sfunc): Convert short style name into long
+ option name. Call set_disassembler_options.
+ (show_disassembly_style_sfunc): New function.
+ (arm_gdbarch_init): Call set_gdbarch_disassembler_options and
+ set_gdbarch_verify_disassembler_options.
+ (_initialize_arm_tdep): Delete regnames variable and update callers.
+ (arm_disassembler_options): Initialize.
+ (disasm_options): New variable.
+ (num_disassembly_options): Rename from this...
+ (num_disassembly_styles): ...to this. Compute by scanning through
+ disasm_options.
+ (valid_disassembly_styles): Initialize using disasm_options.
+ Remove calls to parse_arm_disassembler_option, get_arm_regnames and
+ set_arm_regname_option.
+ Pass show_disassembly_style_sfunc to the "disassembler" setshow command.
+ * rs6000-tdep.c (powerpc_disassembler_options): New static variable.
+ (rs6000_gdbarch_init): Call set_gdbarch_disassembler_options and
+ set_gdbarch_verify_disassembler_options.
+ * s390-tdep.c (s390_disassembler_options): New static variable.
+ (s390_gdbarch_init):all set_gdbarch_disassembler_options and
+ set_gdbarch_verify_disassembler_options.
+
+2017-02-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * remote.c (remote_add_target_side_condition): Remove "struct"
+ keyword from range-based for loop.
+
+2017-02-27 Simon Marchi <simon.marchi@ericsson.com>
+
+ * remote.c (remote_add_target_side_condition): Use range-based
+ for loop. Update comment.
+
+2017-02-27 Yao Qi <yao.qi@linaro.org>
+
+ * f-typeprint.c (f_print_type): Check "varstring" is empty first.
+
+2017-02-26 Alan Hayward <alan.hayward@arm.com>
+
+ * regcache.c (regcache_raw_update): New function.
+ (regcache_raw_read): Move code to regcache_raw_update.
+ * regcache.h (regcache_raw_update): New declaration.
+ * remote.c (remote_prepare_to_store): Call regcache_raw_update.
+
+2017-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2read.c (create_debug_type_hash_table): Initialize
+ header.signature and header.type_offset_in_tu.
+
+2017-02-24 Pedro Alves <palves@redhat.com>
+
+ * symtab.c (make_file_symbol_completion_list_1): Use
+ add_symtab_completions.
+
+2017-02-24 Alan Hayward <alan.hayward@arm.com>
+
+ * stack.c (frame_info): Use frame_unwind_register_value to avoid buf.
+
+2017-02-24 Alan Hayward <alan.hayward@arm.com>
+
+ * i386-tdep.c (i386_pseudo_register_read_into_value): Use
+ I386_MAX_REGISTER_SIZE.
+ (i386_pseudo_register_write): Likewise.
+ (i386_process_record): Likewise.
+ * i387-tdep.c (i387_supply_xsave): Likewise.
+ * m68k-linux-nat.c (fetch_register): Use M68K_MAX_REGISTER_SIZE.
+ (store_register): Likewise.
+
2017-02-23 Pedro Alves <palves@redhat.com>
* ada-lang.c: Include "common/function-view.h".
(build_command_line): Make args a constant pointer.
2017-02-08 Jerome Guitton <guitton@adacore.com>
-
+
* cli-decode.c (lookup_cmd_1, lookup_cmd_composition):
Remove case-insensitive search.
2017-01-01 Joel Brobecker <brobecker@adacore.com>
- Update copyright year range in all GDB files.
+ Update copyright year range in all GDB files.
2017-01-01 Joel Brobecker <brobecker@adacore.com>