+2019-10-23 Tom Tromey <tom@tromey.com>
+
+ * Makefile.in (READLINE_DIR): Update.
+
+2019-10-23 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
+
+ * infcall.c (call_function_by_hand_dummy): Fix the function
+ comment. And extract out a code section into...
+ (reserve_stack_space): ...this new function.
+
+2019-10-23 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
+
+ * infcall.c (value_arg_coerce): Remove an unused parameter.
+ (call_function_by_hand_dummy): Update the call to
+ 'value_arg_coerce'.
+
+2019-10-23 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
+
+ * infcall.c (call_function_by_hand_dummy): Refactor.
+
+2019-10-23 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
+
+ * MAINTAINERS (Write After Approval): Add Tankut Baris Aktemur.
+
+2019-10-23 Tom Tromey <tom@tromey.com>
+
+ * configure: Rebuild.
+ * configure.ac: Don't check for sigprocmask.
+ * gdbsupport/common.m4 (GDB_AC_COMMON): Check for sigprocmask.
+
+2019-10-23 Tom Tromey <tom@tromey.com>
+
+ * configure: Rebuild.
+ * acinclude.m4: Use m4_include, not sinclude.
+
+2019-10-23 Tom de Vries <tdevries@suse.de>
+
+ PR breakpoints/24687
+ * symtab.c (iterate_over_some_symtabs): Apply gdb_realpath on fullname.
+
+2019-10-22 Christian Biesinger <cbiesinger@google.com>
+
+ * symtab.c (struct demangled_name_entry) <language>: Change from
+ bitfield to regular variable.
+
+2019-10-22 Christian Biesinger <cbiesinger@google.com>
+
+ * symtab.c (struct demangled_name_entry): Add a constructor.
+ (free_demangled_name_entry): New function to call the destructor
+ for demangled_name_entry.
+ (create_demangled_names_hash): Pass free_demangled_name_entry to
+ htab_create_alloc.
+ (symbol_set_names): Call placement new for demangled_name_entry.
+ * utils.c: No longer include xxhash.h here, now that fast_hash
+ is inlined in the header.
+ * utils.h: Instead, include it here.
+
+2019-10-22 Christian Biesinger <cbiesinger@google.com>
+
+ * Makefile.in: Link with libxxhash.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+ * configure.ac: Search for libxxhash.
+ * utils.c (fast_hash): Use xxhash if present.
+
+2019-10-22 Christian Biesinger <cbiesinger@google.com>
+
+ * utils.h (fast_hash): New function.
+ * symtab.c (hash_demangled_name_entry): Call new function
+ fast_hash.
+
+2019-10-22 Christian Biesinger <cbiesinger@google.com>
+
+ * symtab.c (struct demangled_name_entry): Change type of mangled
+ to gdb::string_view. Also adds a constructor that takes the
+ mangled name.
+ (hash_demangled_name_entry): Update.
+ (eq_demangled_name_entry): Update.
+ (free_demangled_name_entry): New function to call the destructor
+ now that this is not a POD anymore.
+ (create_demangled_names_hash): Pass free_demangled_name_entry to
+ htab_create_alloc.
+ (symbol_set_names): Update.
+
+2019-10-21 Ali Tamur <tamu@google.com>
+
+ * dwarf2read.c (dir_index): Change type.
+ (file_name_index): Likewise.
+ (line_header::include_dir_at): Change comment and implementation on
+ whether it is DWARF 5.
+ (line_header::is_valid_file_index): New function.
+ (line_header::file_name_at): Change comment and implementation on
+ whether it is DWARF 5.
+ (line_header::file_names): Change to private field renamed as
+ m_file_names and introduce a new accessor method.
+ (line_header::file_names_size): New method.
+ (line_header::include_dirs): Change to private field and rename as
+ m_include_dirs.
+ (dw2_get_file_names_reader): Define local var at a smaller scope and
+ reflect API change.
+ (dwarf2_cu::setup_type_unit_groups): Reflect API change.
+ (process_structure_scope): Likewise.
+ (line_header::add_include_dir): Change message and reflect renaming.
+ (line_header::add_file_name): Likewise.
+ (read_formatted_entries): Handle DW_FORM_data16.
+ (dwarf_decode_line_header): Fix line header length calculation.
+ (psymtab_include_file_name): Change comment and API.
+ (lnp_state_machine::m_file): Update comment and reflect type change.
+ (lnp_state_machine::record_line): Reflect type change.
+ (dwarf_decode_lines): Reflect API change.
+ (file_file_name): Likewise.
+ (file_full_name): Likewise.
+
+2019-10-21 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * objfiles.c (sort_cmp): Ensure that !(a < a) holds true.
+
+2019-10-21 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-winsource.h (tui_exec_info_content): Remove typedef.
+
+2019-10-21 Tom Tromey <tom@tromey.com>
+
+ * configure.ac (nm.h): Conditionally create nm.h link. Subst
+ NM_H. Use AC_CONFIG_LINKS.
+ * configure: Rebuild.
+ * Makefile.in (NM_H): New variable.
+ (generated_files): Add NM_H. Remove gcore.
+ (nm.h, stamp-nmh): New targets.
+
+2019-10-20 Tom Tromey <tom@tromey.com>
+
+ * objfiles.h (unlink_objfile, put_objfile_before): Don't declare.
+ * objfiles.c (unlink_objfile): Move earlier. Now static. Remove
+ obsolete comment.
+ (put_objfile_before): Now static.
+
+2019-10-19 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * gdbsupport/common-utils.h (startswith): Change return type to
+ bool.
+
+2019-10-19 Christian Biesinger <cbiesinger@google.com>
+
+ * bcache.c (bcache::print_statistics): Use std::sort instead of qsort.
+ * breakpoint.c (bp_locations_compare): Rename to...
+ (bp_location_is_less_than): ...this, and change to std::sort semantics.
+ (update_global_location_list): Use std::sort instead of qsort.
+ * buildsym.c (compare_line_numbers): Rename to...
+ (lte_is_less_than): ...this, and change to std::sort semantics.
+ (buildsym_compunit::end_symtab_with_blockvector): Use std::sort
+ instead of qsort.
+ * disasm.c (compare_lines): Rename to...
+ (line_is_less_than): ...this, and change to std::sort semantics.
+ (do_mixed_source_and_assembly_deprecated): Call std::sort instead
+ of qsort.
+ * dwarf2-frame.c (qsort_fde_cmp): Rename to...
+ (fde_is_less_than): ...this, and change to std::sort semantics.
+ (dwarf2_build_frame_info): Call std::sort instead of qsort.
+ * mdebugread.c (compare_blocks):
+ (block_is_less_than): ...this, and change to std::sort semantics.
+ (sort_blocks): Call std::sort instead of qsort.
+ * objfiles.c (qsort_cmp): Rename to...
+ (sort_cmp): ...this, and change to std::sort semantics.
+ (update_section_map): Call std::sort instead of qsort.
+ * remote.c (compare_pnums): Remove.
+ (map_regcache_remote_table): Call std::sort instead of qsort.
+ * utils.c (compare_positive_ints): Remove.
+ * utils.h (compare_positive_ints): Remove.
+ * xcoffread.c (compare_lte): Remove.
+ (arrange_linetable): Call std::sort instead of qsort.
+
+2019-10-19 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * symfile.c (init_entry_point_info): Fix typo.
+ * i386-darwin-tdep.c (darwin_dwarf_signal_frame_p): Fix typo.
+
+2019-10-18 Tom de Vries <tdevries@suse.de>
+
+ * aarch64-tdep.c: Fix typos in comments.
+ * ada-lang.c: Same.
+ * ada-tasks.c: Same.
+ * alpha-tdep.c: Same.
+ * alpha-tdep.h: Same.
+ * amd64-nat.c: Same.
+ * amd64-windows-tdep.c: Same.
+ * arc-tdep.c: Same.
+ * arc-tdep.h: Same.
+ * arch-utils.c: Same.
+ * arm-nbsd-tdep.c: Same.
+ * arm-tdep.c: Same.
+ * ax-gdb.c: Same.
+ * blockframe.c: Same.
+ * btrace.c: Same.
+ * c-varobj.c: Same.
+ * coff-pe-read.c: Same.
+ * coffread.c: Same.
+ * cris-tdep.c: Same.
+ * darwin-nat.c: Same.
+ * dbxread.c: Same.
+ * dcache.c: Same.
+ * disasm.c: Same.
+ * dtrace-probe.c: Same.
+ * dwarf-index-write.c: Same.
+ * dwarf2-frame-tailcall.c: Same.
+ * dwarf2-frame.c: Same.
+ * dwarf2read.c: Same.
+ * eval.c: Same.
+ * exceptions.c: Same.
+ * fbsd-tdep.c: Same.
+ * findvar.c: Same.
+ * frame.c: Same.
+ * frv-tdep.c: Same.
+ * gnu-v3-abi.c: Same.
+ * go32-nat.c: Same.
+ * h8300-tdep.c: Same.
+ * hppa-tdep.c: Same.
+ * i386-linux-tdep.c: Same.
+ * i386-tdep.c: Same.
+ * ia64-libunwind-tdep.c: Same.
+ * ia64-tdep.c: Same.
+ * infcmd.c: Same.
+ * infrun.c: Same.
+ * linespec.c: Same.
+ * linux-nat.c: Same.
+ * linux-thread-db.c: Same.
+ * machoread.c: Same.
+ * mdebugread.c: Same.
+ * mep-tdep.c: Same.
+ * mn10300-tdep.c: Same.
+ * namespace.c: Same.
+ * objfiles.c: Same.
+ * opencl-lang.c: Same.
+ * or1k-tdep.c: Same.
+ * osabi.c: Same.
+ * ppc-linux-nat.c: Same.
+ * ppc-linux-tdep.c: Same.
+ * ppc-sysv-tdep.c: Same.
+ * printcmd.c: Same.
+ * procfs.c: Same.
+ * record-btrace.c: Same.
+ * record-full.c: Same.
+ * remote-fileio.c: Same.
+ * remote.c: Same.
+ * rs6000-tdep.c: Same.
+ * s12z-tdep.c: Same.
+ * score-tdep.c: Same.
+ * ser-base.c: Same.
+ * ser-go32.c: Same.
+ * skip.c: Same.
+ * sol-thread.c: Same.
+ * solib-svr4.c: Same.
+ * solib.c: Same.
+ * source.c: Same.
+ * sparc-nat.c: Same.
+ * sparc-sol2-tdep.c: Same.
+ * sparc-tdep.c: Same.
+ * sparc64-tdep.c: Same.
+ * stabsread.c: Same.
+ * stack.c: Same.
+ * symfile.c: Same.
+ * symtab.c: Same.
+ * target-descriptions.c: Same.
+ * target-float.c: Same.
+ * thread.c: Same.
+ * utils.c: Same.
+ * valops.c: Same.
+ * valprint.c: Same.
+ * value.c: Same.
+ * varobj.c: Same.
+ * windows-nat.c: Same.
+ * xcoffread.c: Same.
+ * xstormy16-tdep.c: Same.
+ * xtensa-tdep.c: Same.
+
+2019-10-17 Tom Tromey <tromey@adacore.com>
+
+ * configure: Rebuild.
+ * configure.ac: Use AC_CONFIG_HEADERS. Create stamp-h there, not
+ in AC_CONFIG_FILES invocation.
+ * Makefile.in (Makefile, data-directory/Makefile, stamp-h): Use
+ new-style config.status invocation.
+
+2019-10-17 Tom de Vries <tdevries@suse.de>
+
+ * arm-nbsd-nat.c: Fix typos in comments.
+ * arm-tdep.c: Same.
+ * darwin-nat-info.c: Same.
+ * dwarf2read.c: Same.
+ * elfread.c: Same.
+ * event-top.c: Same.
+ * findvar.c: Same.
+ * gdbtypes.c: Same.
+ * hppa-tdep.c: Same.
+ * i386-tdep.c: Same.
+ * jit.c: Same.
+ * main.c: Same.
+ * mdebugread.c: Same.
+ * moxie-tdep.c: Same.
+ * nto-procfs.c: Same.
+ * osabi.c: Same.
+ * ppc-linux-tdep.c: Same.
+ * remote.c: Same.
+ * riscv-tdep.c: Same.
+ * s390-tdep.c: Same.
+ * sh-tdep.c: Same.
+ * sparc-linux-tdep.c: Same.
+ * sparc-nat.c: Same.
+ * stack.c: Same.
+ * target-descriptions.c: Same.
+ * top.c: Same.
+ * varobj.c: Same.
+
+2019-10-16 Tom Tromey <tom@tromey.com>
+
+ * objfiles.h (struct objfile) <original_name>: Now const.
+
+2019-10-16 Christian Biesinger <cbiesinger@google.com>
+
+ * gdbsupport/gdb_setjmp.h (SIGSETJMP): Allow passing in the value to
+ pass on to sigsetjmp's second argument.
+ * cp-support.c (gdb_demangle): Unblock SIGSEGV if we caught a crash.
+
+2019-10-16 Keith Seitz <keiths@redhat.com>
+
+ PR gdb/23567
+ * dwarf2read.c (dwarf2_per_objfile::locate_sections): Discard
+ sections whose size is greater than the file size.
+
+2019-10-16 Jim Wilson <jimw@sifive.com>
+
+ * riscv-tdep.c (riscv_gcc_target_options): New.
+ (riscv_gnu_triplet_regexp): New.
+ (riscv_gdbarch_init): Call set_gdbarch_gcc_triplet_options and
+ set_gdbarch_gnu_triplet_regexp.
+
+2019-10-16 Christian Biesinger <cbiesinger@google.com>
+
+ * Makefile.in: Add xml-builtin.h.
+ * features/feature_to_c.sh: Add an include for xml-builtin.h
+ to ensure that the compiler checks that the types match.
+ * xml-builtin.h: New file.
+ * xml-support.c (fetch_xml_builtin): Add missing const.
+ * xml-support.h: Remove declaration of xml_builtins.
+
+2019-10-16 Tom de Vries <tdevries@suse.de>
+
+ PR tdep/25096
+ * amd64-tdep.c (amd64_classify_aggregate_field): Factor out of ...
+ (amd64_classify_aggregate): ... here.
+ (amd64_classify_aggregate_field): Handled fiels of nested structs
+ recursively.
+
+2019-10-16 Tom de Vries <tdevries@suse.de>
+
+ PR tdep/24104
+ * amd64-tdep.c (amd64_push_arguments): Handle AMD64_NO_CLASS in loop
+ that handles 'theclass'.
+
+2019-10-15 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * linespec.c (decode_digits_ordinary): Update comment.
+ * make-target-delegates: No longer need to handle VEC case.
+ * memrange.c (normalize_mem_ranges): Update comment.
+ * namespace.c (add_using_directive): Update comment.
+ * objc-lang.c (uniquify_strings): Update comment.
+ * ppc-linux-nat.c (struct thread_points): Update comment.
+ * probe.h (find_probes_in_objfile): Update comment.
+ * target.h (enum flash_preserve_mode): Update comment.
+ * varobj.c (varobj_restrict_range): Update comment.
+ * varobj.h (varobj_list_children): Update comment.
+
+2019-10-15 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * Makefile.in: Remove references to vec.h and vec.c.
+ * aarch64-tdep.c: No longer include vec.h.
+ * ada-lang.c: Likewise.
+ * ada-lang.h: Likewise.
+ * arm-tdep.c: Likewise.
+ * ax.h: Likewise.
+ * breakpoint.h: Likewise.
+ * charset.c: Likewise.
+ * cp-support.h: Likewise.
+ * dtrace-probe.c: Likewise.
+ * dwarf2read.c: Likewise.
+ * extension.h: Likewise.
+ * gdb_bfd.c: Likewise.
+ * gdbsupport/gdb_vecs.h: Likewise.
+ * gdbsupport/vec.c: Remove.
+ * gdbsupport/vec.h: Remove.
+ * gdbthread.h: Likewise.
+ * guile/scm-type.c: Likewise.
+ * inline-frame.c: Likewise.
+ * machoread.c: Likewise.
+ * memattr.c: Likewise.
+ * memrange.h: Likewise.
+ * namespace.h: Likewise.
+ * nat/linux-btrace.h: Likewise.
+ * osdata.c: Likewise.
+ * parser-defs.h: Likewise.
+ * progspace.h: Likewise.
+ * python/py-type.c: Likewise.
+ * record-btrace.c: Likewise.
+ * rust-exp.y: Likewise.
+ * solib-target.c: Likewise.
+ * stap-probe.c: Likewise.
+ * target-descriptions.c: Likewise.
+ * target-memory.c: Likewise.
+ * target.h: Likewise.
+ * varobj.c: Likewise.
+ * varobj.h: Likewise.
+ * xml-support.h: Likewise.
+
+2019-10-15 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * gdb/dwarf2read.c (dwarf2_per_objfile::~dwarf2_per_objfile):
+ Update for new std::vector based implementation.
+ (process_psymtab_comp_unit_reader): Likewise.
+ (scan_partial_symbols): Likewise.
+ (recursively_compute_inclusions): Likewise.
+ (compute_compunit_symtab_includes): Likewise.
+ (process_imported_unit_die): Likewise.
+ (queue_and_load_dwo_tu): Likewise.
+ (follow_die_sig_1): Likewise.
+ * gdb/dwarf2read.h: Remove DEF_VEC_P.
+ (typedef dwarf2_per_cu_ptr): Remove.
+ (struct dwarf2_per_cu_data) <imported_symtabs_empty>: New
+ function.
+ (struct dwarf2_per_cu_data) <imported_symtabs_push>: New function.
+ (struct dwarf2_per_cu_data) <imported_symtabs_size>: New function.
+ (struct dwarf2_per_cu_data) <imported_symtabs_free>: New function.
+ (struct dwarf2_per_cu_data) <imported_symtabs>: Change to
+ std::vector.
+
+2019-10-15 Tom Tromey <tromey@adacore.com>
+
+ * windows-nat.c (windows_nat_target::resume): Use %x when logging
+ TID.
+
+2019-10-15 Tom Tromey <tromey@adacore.com>
+
+ * windows-nat.c (windows_nat_target::fetch_registers)
+ (windows_nat_target::store_registers): Rename "pid" to "tid".
+
+2019-10-15 Tom Tromey <tromey@adacore.com>
+
+ * gdbarch.h, gdbarch.c: Rebuild.
+ * gdbarch.sh (gcc_target_options): Change return type to
+ std::string.
+ * compile/compile.c (get_args): Update.
+ * nios2-tdep.c (nios2_gcc_target_options): Return std::string.
+ * arm-linux-tdep.c (arm_linux_gcc_target_options): Return
+ std::string.
+ * aarch64-linux-tdep.c (aarch64_linux_gcc_target_options): Return
+ std::string.
+ * arch-utils.c (default_gcc_target_options): Return std::string.
+ * arch-utils.h (default_gcc_target_options): Return std::string.
+ * s390-tdep.c (s390_gcc_target_options): Return std::string.
+
+2019-10-15 Christian Biesinger <cbiesinger@google.com>
+
+ * breakpoint.c (breakpoint_chain): Make static.
+ * tui/tui-winsource.c: Call iterate_over_breakpoints instead
+ of accessing breakpoint_chain.
+
+2019-10-15 Christian Biesinger <cbiesinger@google.com>
+
+ * breakpoint.c (iterate_over_breakpoints): Change function pointer
+ to a gdb::function_view and return value to bool.
+ * breakpoint.h (iterate_over_breakpoints): Likewise.
+ * dummy-frame.c (pop_dummy_frame_bpt): Update.
+ (pop_dummy_frame): Update.
+ * guile/scm-breakpoint.c (bpscm_build_bp_list): Update.
+ (gdbscm_breakpoints): Update.
+ * python/py-breakpoint.c (build_bp_list): Update.
+ (gdbpy_breakpoints): Update.
+ * python/py-finishbreakpoint.c (bpfinishpy_detect_out_scope_cb):
+ Update.
+ (bpfinishpy_handle_stop): Update.
+ (bpfinishpy_handle_exit): Update.
+ * solib-svr4.c (svr4_update_solib_event_breakpoint): Update.
+ (svr4_update_solib_event_breakpoints): Update.
+
+2019-10-15 Andreas Arnez <arnez@linux.ibm.com>
+
+ * s390-tdep.c (s390_effective_inner_type): Ignore static fields
+ when unwrapping single-field structs.
+
+2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * dwarf2read.c: Remove includes.
+
+2019-10-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * ui-out.c (ui_out::call_do_message): Silence
+ -Wformat-nonliteral warning.
+
+2019-10-12 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * breakpoint.c: Remove some includes: continuations.h, skip.h,
+ mi/mi-main.h, readline/readline.h, readline/history.h. Add
+ include: readline/tilde.h.
+
+2019-10-12 Christian Biesinger <cbiesinger@google.com>
+
+ * remote.c (remote_target::get_trace_status): Remove declaration of
+ trace_regblock_size.
+
+2019-10-12 Christian Biesinger <cbiesinger@google.com>
+
+ * cli/cli-cmds.c (max_user_call_depth): Move comment to header.
+ (show_user): Remove declaration of cmdlist.
+ * cli/cli-cmds.h (max_user_call_depth): Declare.
+ * cli/cli-script.c (execute_user_command): Remove declaration
+ of max_user_call_depth.
+
+2019-10-11 Jim Wilson <jimw@sifive.com>
+
+ * gdbsupport/print-utils.h (pulongest): Fix comment.
+ (plongest): Likewise.
+ (phex): Add missing comment, mention leading zeros.
+ (phex_nz): Add mention of no leading zeros to comment.
+
+ * riscv-tdep.c (riscv_push_dummy_code): Change %lld to %s and use
+ plongest instead of unsigned long long cast.
+
+2019-10-10 Christian Biesinger <cbiesinger@google.com>
+
+ * main.c (captured_main_1): Include gdbtk.h and remove declarations
+ for external_editor_command and gdbtk_test.
+
+2019-10-10 Christian Biesinger <cbiesinger@google.com>
+
+ * mi/mi-cmd-var.c (varobjdebug): Remove declaration.
+ * varobj.c (varobjdebug): Move comment to...
+ * varobj.h (varobjdebug): ...here, and declare.
+
+2019-10-09 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-regs.c (tui_data_window::show_registers): Don't call
+ erase_data_content.
+
2019-10-09 Tom Tromey <tom@tromey.com>
* tui/tui-wingeneral.h (tui_delete_win): Don't declare.
2019-07-04 Alan Hayward <alan.hayward@arm.com>
+ PR breakpoints/25011
* symfile.c (symbol_file_command): Call solib_create_inferior_hook.
2019-07-04 Tom Tromey <tom@tromey.com>
2019-05-28 Alan Hayward <alan.hayward@arm.com>
+ PR gdb/25010
* event-top.c: Remove include comment.
* inflow.c (class scoped_ignore_sigttou): Move from here...
* inflow.h (class scoped_ignore_sigttou): ...to here.