gdb/python: Return None from Progspace.block_for_pc on error
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 3827c4d3235a749708622975a55b6ae571d5e6b1..887c7fb68ae59314fd55b002dc3036e90ace97d9 100644 (file)
@@ -1,3 +1,379 @@
+2019-10-24  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * python/py-progspace.c (pspy_block_for_pc): Return None for all
+       error paths.
+
+2019-10-23  Tom Tromey  <tom@tromey.com>
+
+       * arc-tdep.c: Remove ".." from include.
+       * frv-tdep.c: Remove ".." from include.
+       * lm32-tdep.c: Remove ".." from include.
+       * microblaze-tdep.c: Remove ".." from include.
+       * or1k-tdep.h: Remove ".." from include.
+       * s12z-tdep.c: Remove ".." from include.
+       * Makefile.in (OPCODES_CFLAGS): Add comment.
+       (TOP_CFLAGS): New variable.
+       (INTERNAL_CFLAGS_BASE): Add TOP_CFLAGS.
+
+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.
This page took 0.042047 seconds and 4 git commands to generate.