gdb: Look for compilation directory relative to directory search path
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index dace64e6be336a1d4d26c1d2d0793dcccbffebe3..3bf43d2dfebde9fdfd6ed078e9b3e5f71cbae768 100644 (file)
@@ -1,3 +1,130 @@
+2019-09-17  Mike Gulick  <mgulick@mathworks.com>
+
+       * source.c (prepare_path_for_appending): New function.
+       (openp): Make use of new function.
+       (find_and_open_source): Search for the compilation directory and
+       source file as a relative path beneath the directory search path.
+
+2019-09-17  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * source-cache.c (source_cache::get_line_charpos): Catch
+       exceptions and return false, this matches the behaviour documented
+       in the header file.
+
+2019-09-17  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-tasks.c (info_task): Remove quoting of the task's name.
+
+2019-09-16  Christian Biesinger  <cbiesinger@google.com>
+
+       * symfile.c (auto_solib_add): Replace comment with a reference
+       to the header file.
+
+2019-09-14  Christian Biesinger  <cbiesinger@google.com>
+
+       * NEWS: Mention that gdb can now be compiled with Python 3
+       on Windows.
+
+2019-09-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * maint.c (maint_print_section_data::maint_print_section_data):
+       Force use of 'float log10 (float)' by casting the argument to
+       float.
+
+2019-09-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * maint.c: Add 'cmath' include.
+       (struct maint_print_section_data): New structure.
+       (print_section_index): New function.
+       (print_bfd_section_info): Add header comment, small whitespace
+       cleanup, and update to call new print_section_index function.
+       (print_objfile_section_info): Likewise.
+       (maint_obj_section_from_bfd_section): New function.
+       (print_bfd_section_info_maybe_relocated): New function.
+       (maintenance_info_sections): Add header comment, always use
+       bfd_map_over_sections instead of ALL_OBJFILE_OSECTIONS.
+
+2019-09-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * psymtab.c (find_pc_sect_psymtab): Move baseaddr local into more
+       inner scope, add check that the objfile has psymtabs before
+       checking psymtabs_addrmap.
+       * psymtab.h (psymtab_storage) <psymtabs_addrmap>: Extend comment.
+
+2019-09-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * NEWS: Announce that Ada task names are now shown at more places,
+       and between quotes (except in info task output).
+       * gdb/ada-tasks.c (task_to_str): New function.
+       (display_current_task_id): Call task_to_str.
+       (task_command_1): Likewise.
+       (print_ada_task_info): In non-mi mode, Properly align headers and data
+       when task-id length is > 9 (9 is the default for a 32 bits CORE_ADDR).
+
+2019-09-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * procfs.c (procfs_target::wait) <PR_FAULTED>: Get signal from
+       prstatus.pr_lwp.pr_info instead of making it up.
+
+2019-09-11  Christian Biesinger  <cbiesinger@google.com>
+
+       * auto-load.c (auto_load_expand_dir_vars): Update.
+       * defs.h (gdb_datadir): Change to std::string.
+       (python_libdir): Likewise.
+       (relocate_gdb_directory): Change return type to std::string.
+       * guile/guile.c (gdbscm_data_directory): Update.
+       (initialize_scheme_side): Update.
+       * jit.c (jit_reader_dir): Change to std::string.
+       (jit_reader_load_command): Update.
+       * main.c (gdb_datadir): Change to std::string.
+       (python_libdir): Likewise.
+       (set_gdb_data_directory): Update.
+       (relocate_path): Change to return std::string.
+       (relocate_gdb_directory): Change to return std::string.
+       (relocate_gdbinit_path_maybe_in_datadir): Update.
+       (captured_main_1): Update.
+       * python/python.c (do_start_initialization): Update.
+       * top.c (show_gdb_datadir): Update.
+       * xml-syscall.c (xml_init_syscalls_info): Update.
+       (init_syscalls_info): Update.
+
+2019-09-11  Christian Biesinger  <cbiesinger@google.com>
+
+       * main.c (relocate_gdbinit_path_maybe_in_datadir): Factor this code
+       out of get_init_files.
+       (get_init_files): Update.
+
+2019-09-11  Christian Biesinger  <cbiesinger@google.com>
+
+       * main.c (get_init_files): Change to use std::string.
+       (captured_main_1): Update.
+       (print_gdb_help): Update.
+
+2019-09-11  Ali Tamur  <tamur@google.com>
+
+       *gdb/target-float.c (host_float_ops<T>::to_longest): Update
+       implementation.
+
+2019-09-11  Christian Biesinger  <cbiesinger@google.com>
+
+       * dbxread.c (read_dbx_symtab): Update.
+       * dwarf2read.c (load_partial_dies): Update.
+       * mdebugread.c (parse_partial_symbols): Update.
+       (handle_psymbol_enumerators): Update.
+       * psympriv.h (add_psymbol_to_list): Change type of copy_names to bool.
+       * psymtab.c (add_psymbol_to_bcache): Likewise.
+       (add_psymbol_to_list): Likewise.
+       * symtab.c (symbol_set_names): Likewise.
+       * symtab.h (symbol_set_names): Likewise.
+       * xcoffread.c (scan_xcoff_symtab): Update.
+
+2019-09-11  Tom Tromey  <tom@tromey.com>
+
+       * symfile-mem.c (symbol_file_add_from_memory): Use
+       bfd_set_filename.
+       * solib-darwin.c (darwin_bfd_open): Use bfd_set_filename.
+       * solib-aix.c (solib_aix_bfd_open): Use bfd_set_filename.
+
 2019-09-10  Tom Tromey  <tromey@adacore.com>
 
        * dwarf-index-write.c (write_psymbols): Extend error message.
This page took 0.030791 seconds and 4 git commands to generate.