Ensure proc-service symbols have default visibility (PR build/24805)
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index a9db32253da05bc055f330e9e6f252b716f95f00..fe8972e47f0f33af50e046967a6df62ada76f953 100644 (file)
@@ -1,3 +1,177 @@
+2020-01-16  Pedro Alves  <palves@redhat.com>
+            Norbert Lange  <nolange79@gmail.com>
+
+       PR build/24805
+       * gdbsupport/gdb_proc_service.h (PS_EXPORT): New.
+       (ps_get_thread_area, ps_getpid, ps_lcontinue, ps_lgetfpregs)
+       (ps_lgetregs, ps_lsetfpregs, ps_lsetregs, ps_lstop, ps_pcontinue)
+       (ps_pdread, ps_pdwrite, ps_pglobal_lookup, ps_pstop, ps_ptread)
+       (ps_ptwrite, ps_lgetxregs, ps_lgetxregsize, ps_lsetxregs)
+       (ps_plog): Redeclare exported functions with default visibility.
+
+2020-01-16  Nitika Achra  <Nitika.Achra@amd.com>
+
+       * dwarf2loc.c (decode_debug_loclists_addresses): Handle
+       DW_LLE_base_addressx, DW_LLE_startx_length, DW_LLE_start_length.
+
+2020-01-15  Simon Marchi  <simon.marchi@efficios.com>
+
+       * infcmd.c (post_create_inferior): Use get_thread_regcache
+       instead of get_current_regcache.
+
+2020-01-14  Tom Tromey  <tom@tromey.com>
+
+       PR symtab/12535:
+       * python/python.c (gdbpy_decode_line): Treat empty string the same
+       as no argument.
+
+2020-01-14  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (CLIBS): Remove second use of $(LIBIBERTY).
+
+2020-01-14  Tom Tromey  <tom@tromey.com>
+
+       * nat/linux-btrace.c: Don't include <config.h>.
+       * nat/linux-ptrace.c: Don't include <config.h>.
+       * nat/x86-linux-dregs.c: Don't include <config.h>.
+
+2020-01-14  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+       * configure.ac: Move many checks to ../gdbsupport/common.m4.
+
+2020-01-14  Tom Tromey  <tom@tromey.com>
+
+       * nat/x86-linux-dregs.c: Include configh.h.
+       * nat/linux-ptrace.c: Include configh.h.
+       * nat/linux-btrace.c: Include configh.h.
+       * defs.h: Include config.h, bfd.h.
+       * configure.ac: Don't source common.host.
+       (CONFIG_OBS, CONFIG_SRCS): Remove gdbsupport files.
+       * configure: Rebuild.
+       * acinclude.m4: Update path.
+       * Makefile.in (SUPPORT, LIBSUPPORT, INCSUPPORT): New variables.
+       (CONFIG_SRC_SUBDIR): Remove gdbsupport.
+       (INTERNAL_CFLAGS_BASE): Add INCSUPPORT.
+       (CLIBS): Add LIBSUPPORT.
+       (CDEPS): Likewise.
+       (COMMON_SFILES): Remove gdbsupport files.
+       (HFILES_NO_SRCDIR): Likewise.
+       (stamp-version): Update path to create-version.sh.
+       (ALLDEPFILES): Remove gdbsupport files.
+
+2020-01-14  Tom Tromey  <tom@tromey.com>
+
+       * gdbsupport/common.m4 (GDB_AC_COMMON): Define WIN32APILIBS and
+       USE_WIN32API when needed.
+       * configure.ac (USE_WIN32API): Don't define.
+       (WIN32LIBS): Use WIN32APILIBS.
+       * configure: Rebuild.
+
+2020-01-14  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+       * gdbsupport/common.m4 (GDB_AC_COMMON): Fix indentation.
+
+2020-01-14  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * skip.c (skip_function_command): Make skip w/o arguments use the
+       name of the inlined function if pc is inside any inlined function.
+
+2020-01-14  Luis Machado  <luis.machado@linaro.org>
+
+       * inf-ptrace.c (inf_ptrace_target::resume): Update comments.
+       * infrun.c (resume_1): Likewise.
+       (handle_inferior_event): Remove stale comment.
+       * linux-nat.c (linux_nat_target::resume): Update comments.
+       (save_stop_reason): Likewise.
+       (linux_nat_filter_event): Likewise.
+       * linux-nat.h (struct lwp_info) <stop_pc>, <stop_reason>: Likewise.
+
+2020-01-13  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * elfread.c (record_minimal_symbol): Set section index to 0 for
+       non-allocatable sections.
+
+
+2020-01-13  Ali Tamur <tamur@google.com>
+
+       * dwarf2read.c (dwarf2_debug_sections): Add debug_str_offsets sections.
+       (dwarf2_cu): Add str_offsets_base field.  Change the type of addr_base
+       to gdb::optional.  Update comments.
+       (dwo_file): Update comments.
+       (read_attribute): Update API to take an additional out parameter,
+       need_reprocess.  This is used to mark attributes that need other
+       attributes (e.g. str_offsets_base) for correct computation which may not
+       have been read yet.
+       (read_attribute_reprocess): New function declaration.
+       (read_addr_index): Likewise.
+       (read_dwo_str_index): Likewise.
+       (read_stub_str_index): Likewise.
+       (dwarf2_per_objfile::locate_sections): Handle debug_str_offsets section.
+       (lookup_addr_base): New function definition.
+       (lookup_ranges_base): Likewise.
+       (read_cutu_die_from_dwo): Use the new functions: lookup_addr_base,
+       lookup_ranges_base.
+       (init_cutu_and_read_dies): Update comments.
+       (init_cutu_and_read_dies_no_follow): Change API to take parent compile
+       unit.  This is used to inherit parent's str_offsets_base and addr_base.
+       Update comments.
+       (init_cutu_and_read_dies_simple): Reflect API changes.
+       (skip_one_die): Reflect API changes.  Handle DW_FORM_rnglistx.
+       (create_cus_hash_table): Change API to take parent compile unit.  
+       Reflect API changes.
+       (open_and_init_dwo_file): Reflect API changes.
+       (dwarf2_get_pc_bounds): Update comments.
+       (dwarf2_record_block_ranges): Likewise.
+       (read_full_die_1): Change implementation to reprocess attributes that
+       need str_offsets_base and addr_base.
+       (partial_die_info::read): Likewise.
+       (read_attribute_reprocess): New function definition.
+       (read_attribute_value): Change API to take an additional out parameter,
+       need_reprocess.  Handle DW_FORM_rnglistx.  No longer trigger an error
+       when a non-dwo compile unit has index based attributes.
+       (read_attribute): Reflect API changes.
+       (read_addr_index_1): Reflect API changes.  Update comments.
+       (dwarf2_read_addr_index_data): Reflect API changes.
+       (dwarf2_read_addr_index): Likewise.
+       (read_str_index): Change API and implementation.  This becomes a helper
+       to be used by the new string index related methods.  Update error
+       message and comments.
+       (read_dwo_str_index): New function definition.
+       (read_stub_str_index): Likewise.
+       * dwarf2read.h (dwarf2_per_objfile): Add str_offsets field.
+       * symfile.h (dwarf2_debug_sections): Likewise.
+       * xcoffread.c (dwarf2_debug_sections): Likewise.
+
+2020-01-13  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbcore.h (struct core_fns) <core_read_registers>: Change
+       core_reg_sect type to gdb_byte *.
+       * arm-nbsd-nat.c (fetch_elfcore_registers): Likewise.
+       * cris-tdep.c (fetch_core_registers): Likewise.
+       * corelow.c (core_target::get_core_register_section): Change
+       type of `contents` to gdb::byte_vector.
+
+2020-01-13  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * tui/tui-wingeneral.c (box_win): Position the title in the center
+       of the border.
+
+2020-01-13  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * corelow.c (core_target::get_core_register_section): Use
+         std::vector instead of alloca.
+
+2020-01-13  Simon Marchi  <simon.marchi@efficios.com>
+
+       * warning.m4: Add -Wmissing-declarations to build_warnings.
+       * configure: Re-generate.
+
+2020-01-13  Simon Marchi  <simon.marchi@efficios.com>
+
+       * python/python.c (init__gdb_module): Add declaration.
+
 2020-01-13  Simon Marchi  <simon.marchi@efficios.com>
 
        * aarch64-fbsd-nat.c (_initialize_aarch64_fbsd_nat): Add declaration.
This page took 0.025276 seconds and 4 git commands to generate.