+2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * configure: Regenerate.
+
+2020-02-19 Tom Tromey <tromey@adacore.com>
+
+ * python/python.c (do_start_initialization): Use XNEWVEC. Remove
+ NULL check.
+
+2020-02-19 Maciej W. Rozycki <macro@wdc.com>
+
+ * NEWS: Mention RISC-V GNU/Linux GDBserver support.
+
+2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * arch/riscv.c (struct riscv_gdbarch_features_hasher): Only define
+ if GDBSERVER is not defined.
+ (riscv_tdesc_cache): Likewise, also store const target_desc.
+ (STATIC_IN_GDB): Define.
+ (riscv_create_target_description): Update declaration with
+ STATIC_IN_GDB.
+ (riscv_lookup_target_description): New function, only define if
+ GDBSERVER is not defined.
+ * arch/riscv.h (riscv_create_target_description): Declare only
+ when GDBSERVER is defined.
+ (riscv_lookup_target_description): New declaration when GDBSERVER
+ is not defined.
+ * nat/riscv-linux-tdesc.c (riscv_linux_read_description): Rename to...
+ (riscv_linux_read_features): ...this, and return
+ riscv_gdbarch_features instead of target_desc.
+ * nat/riscv-linux-tdesc.h: Include 'arch/riscv.h'.
+ (riscv_linux_read_description): Rename to...
+ (riscv_linux_read_features): ...this.
+ * riscv-linux-nat.c (riscv_linux_nat_target::read_description):
+ Update to use riscv_gdbarch_features and
+ riscv_lookup_target_description.
+ * riscv-tdep.c (riscv_find_default_target_description): Use
+ riscv_lookup_target_description instead of
+ riscv_create_target_description.
+
+2020-02-18 Simon Marchi <simon.marchi@efficios.com>
+
+ * valprint.c (generic_val_print_enum_1): When printing a flag
+ enum with value 0 and there is no enumerator with value 0, print
+ just "0" instead of "(unknown: 0x0)".
+
+2020-02-18 Simon Marchi <simon.marchi@efficios.com>
+
+ * valprint.c (generic_val_print_enum_1): Print unknown part of
+ flag enum in hex.
+
+2020-02-18 Simon Marchi <simon.marchi@efficios.com>
+
+ * dwarf2/read.c (update_enumeration_type_from_children): Allow
+ flag enums to contain duplicate enumerators.
+ * valprint.c (generic_val_print_enum_1): Update comment.
+
+2020-02-18 Simon Marchi <simon.marchi@efficios.com>
+
+ * dwarf2/read.c: Include "count-one-bits.h".
+ (update_enumeration_type_from_children): If an enumerator has
+ multiple bits set, don't treat the enumeration as a "flag enum".
+ * valprint.c (generic_val_print_enum_1): Assert that enumerators
+ of flag enums have 0 or 1 bit set.
+
+2020-02-18 Bernd Edlinger <bernd.edlinger@hotmail.de>
+
+ * aarch64-tdep.c (aarch64_displaced_step_copy_insn): Use an explicit
+ conversion.
+ * amd64-tdep.c (amd64_displaced_step_copy_insn): Likewise.
+ * arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Likewise.
+ * i386-tdep.c (i386_displaced_step_copy_insn): Likewise.
+ * rs6000-tdep.c (ppc_displaced_step_copy_insn): Likewise.
+ * s390-tdep.c (s390_displaced_step_copy_insn): Likewise.
+
+2020-02-18 Simon Marchi <simon.marchi@efficios.com>
+
+ * MAINTAINERS: Change palmer@sifive.com to palmer@dabbelt.com.
+
+2020-02-14 Simon Marchi <simon.marchi@efficios.com>
+
+ * aarch64-tdep.c (aarch64_displaced_step_copy_insn): Use
+ displaced_step_closure_up.
+ * aarch64-tdep.h (aarch64_displaced_step_copy_insn): Likewise.
+ (struct displaced_step_closure_up):
+ * amd64-tdep.c (amd64_displaced_step_copy_insn): Likewise.
+ * amd64-tdep.h (amd64_displaced_step_copy_insn): Likewise.
+ * arm-linux-tdep.c (arm_linux_displaced_step_copy_insn):
+ Likewise.
+ * gdbarch.sh (displaced_step_copy_insn): Likewise.
+ * gdbarch.c, gdbarch.h: Re-generate.
+ * i386-linux-tdep.c (i386_linux_displaced_step_copy_insn): Use
+ displaced_step_closure_up.
+ * i386-tdep.c (i386_displaced_step_copy_insn): Likewise.
+ * i386-tdep.h (i386_displaced_step_copy_insn): Likewise.
+ * infrun.h (displaced_step_closure_up): New type alias.
+ (struct displaced_step_inferior_state) <step_closure>: Change
+ type to displaced_step_closure_up.
+ * rs6000-tdep.c (ppc_displaced_step_copy_insn): Use
+ displaced_step_closure_up.
+ * s390-tdep.c (s390_displaced_step_copy_insn): Likewise.
+
+2020-02-14 Tom Tromey <tom@tromey.com>
+
+ * minidebug.c (gnu_debug_key): New global.
+ (find_separate_debug_file_in_section): Use it.
+
+2020-02-14 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbarch.sh (displaced_step_copy_insn): Change return type to an
+ std::unique_ptr.
+ * gdbarch.c: Re-generate.
+ * gdbarch.h: Re-generate.
+ * infrun.c (displaced_step_prepare_throw): Adjust to std::unique_ptr
+ change.
+ * aarch64-tdep.c (aarch64_displaced_step_copy_insn): Change return
+ type to std::unique_ptr.
+ * aarch64-tdep.h (aarch64_displaced_step_copy_insn): Likewise.
+ * amd64-tdep.c (amd64_displaced_step_copy_insn): Likewise.
+ * amd64-tdep.h (amd64_displaced_step_copy_insn): Likewise.
+ * arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Likewise.
+ * i386-linux-tdep.c (i386_linux_displaced_step_copy_insn): Likewise.
+ * i386-tdep.c (i386_displaced_step_copy_insn): Likewise.
+ * i386-tdep.h (i386_displaced_step_copy_insn): Likewise.
+ * rs6000-tdep.c (ppc_displaced_step_copy_insn): Likewise.
+ * s390-tdep.c (s390_displaced_step_copy_insn): Likewise.
+
+2020-02-14 Simon Marchi <simon.marchi@efficios.com>
+
+ * infrun.c (get_displaced_step_closure_by_addr): Adjust to
+ std::unique_ptr.
+ (displaced_step_clear): Rename to...
+ (displaced_step_reset): ... this. Just call displaced->reset ().
+ (displaced_step_clear_cleanup): Rename to...
+ (displaced_step_reset_cleanup): ... this.
+ (displaced_step_prepare_throw): Adjust to std::unique_ptr.
+ (displaced_step_fixup): Likewise.
+ (resume_1): Likewise.
+ (handle_inferior_event): Restore child's memory before calling
+ displaced_step_fixup on the parent.
+ * infrun.h (displaced_step_inferior_state) <reset>: Adjust
+ to std::unique_ptr.
+ <step_closure>: Change type to std::unique_ptr.
+
+2020-02-14 Simon Marchi <simon.marchi@efficios.com>
+
+ * arm-tdep.c: Include count-one-bits.h.
+ (cleanup_block_store_pc): Use count_one_bits.
+ (cleanup_block_load_pc): Use count_one_bits.
+ (arm_copy_block_xfer): Use count_one_bits.
+ (thumb2_copy_block_xfer): Use count_one_bits.
+ (thumb_copy_pop_pc_16bit): Use count_one_bits.
+ * arch/arm-get-next-pcs.c: Include count-one-bits.h.
+ (thumb_get_next_pcs_raw): Use count_one_bits.
+ (arm_get_next_pcs_raw): Use count_one_bits_l.
+ * arch/arm.c (bitcount): Remove.
+ * arch/arm.h (bitcount): Remove.
+
+2020-02-14 Tom Tromey <tromey@adacore.com>
+
+ * dwarf2/frame-tailcall.c (dwarf2_tailcall_sniffer_first):
+ Update.
+ * dwarf2/loc.h (call_site_find_chain): Return unique_xmalloc_ptr.
+ * dwarf2/loc.c (call_site_find_chain_1): Return
+ unique_xmalloc_ptr.
+ (call_site_find_chain): Likewise.
+
+2020-02-14 Richard Biener <rguenther@suse.de>
+
+ * dwarf2/read.c (lnp_state_machine::handle_special_opcode): Apply CSE
+ on expression with division operators.
+
+2020-02-13 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
+
+ * MAINTAINERS (Write After Approval): Adding myself.
+
+2020-02-12 Tom Tromey <tom@tromey.com>
+
+ * event-loop.c (event_data, gdb_event, event_handler_func):
+ Remove.
+
+2020-02-12 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/frame.c (dwarf2_frame_bfd_data): New global.
+ (dwarf2_frame_objfile_data): Add comment.
+ (find_comp_unit, set_comp_unit): New functions.
+ (dwarf2_frame_find_fde): Use find_comp_unit.
+ (dwarf2_build_frame_info): Use set_comp_unit.
+
+2020-02-12 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/frame.c (struct comp_unit) <objfile>: Remove.
+ (comp_unit): Don't initialize objfile.
+ (execute_cfa_program): Add text_offset parameter.
+ (execute_cfa_program_test, dwarf2_fetch_cfa_info)
+ (dwarf2_frame_cache): Update.
+ (dwarf2_build_frame_info): Don't set "objfile" member.
+
+2020-02-12 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/frame.c (decode_frame_entry_1): Add gdbarch parameter.
+ (decode_frame_entry): Likewise.
+ (dwarf2_build_frame_info): Update.
+
+2020-02-12 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/frame.c (struct comp_unit) <obstack>: New member.
+ (decode_frame_entry_1): Use the comp_unit obstack.
+
+2020-02-12 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/frame.c (struct comp_unit): Add initializers and
+ constructor.
+ (dwarf2_frame_objfile_data): Store a comp_unit.
+ (dwarf2_frame_find_fde): Update.
+ (dwarf2_build_frame_info): Use "new".
+
+2020-02-12 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/frame.c (struct dwarf2_fde_table): Remove.
+ (dwarf2_fde_table): Typedef for std::vector.
+ (dwarf2_frame_objfile_data): Remove the deleter. Now static.
+ (dwarf2_frame_find_fde, add_fde, decode_frame_entry_1)
+ (decode_frame_entry): Update.
+ (dwarf2_build_frame_info): Use "new".
+
2020-02-12 Christian Biesinger <cbiesinger@google.com>
* arm-tdep.c (arm_gdbarch_init): Update.