Return scoped_fd from open_source_file and find_and_open_source
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 48baa3742f04140eb3bbe8fbd5f4f0858854bef3..2284038cbcdc3bb2016ef61b7ade7216a92722b2 100644 (file)
@@ -1,3 +1,62 @@
+2018-11-09  Tom Tromey  <tom@tromey.com>
+
+       * common/scoped_fd.h (class scoped_fd): Add move constructor and
+       move assignment operator.
+       * psymtab.c (psymtab_to_fullname): Update.
+       * source.h (open_source_file): Return scoped_fd.
+       (find_and_open_source): Likewise.
+       * source.c (open_source_file): Return scoped_fd.
+       (get_filename_and_charpos): Update.
+       (print_source_lines_base): Update.  Use scoped_fd::to_file.
+       (forward_search_command): Likewise.
+       (reverse_search_command): Likewise.
+       (find_and_open_source): Return scoped_fd.
+       * tui/tui-source.c (tui_set_source_content): Update.  Use
+       gdb_file_up.
+
+2018-11-09  John Baldwin  <jhb@FreeBSD.org>
+
+       * minsyms.c (minimal_symbol_reader::install): Fix unsigned
+       overflow.
+
+2018-11-09  Hafiz Abid Qadeer  <abidh@codesourcery.com>
+
+       * configure: Regenerate.
+
+2018-11-09  Tom de Vries  <tdevries@suse.de>
+
+       * symtab.c (symbol_set_names): Call symbol_find_demangled_name
+       unconditionally, to set the language of the symbol.  Manage freeing
+       returned pointer using gdb::unique_xmalloc_ptr.
+
+2018-11-08  Tom Tromey  <tom@tromey.com>
+
+       * record.c (require_record_target): Upper-case "<TAB>".
+
+2018-11-08  Tom Tromey  <tom@tromey.com>
+
+       * python/lib/gdb/command/pretty_printers.py
+       (InfoPrettyPrinter.invoke): Don't indent "objfile" heading.
+
+2018-11-08  Tom Tromey  <tom@tromey.com>
+
+       PR gdb/23555:
+       PR gdb/23838:
+       * target.h (target_supports_terminal_ours): Return bool.
+       * target.c (target_supports_terminal_ours): Handle case where
+       current_top_target returns nullptr.  Return bool.
+
+2018-11-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * aarch64-tdep.c (aapcs_is_vfp_call_or_return_candidate_1):
+       return the correct count for potential HFAs.
+
+2018-11-08  Jan Beulich  <jbeulich@suse.com>
+
+       * i387-tdep.c (i387_supply_xsave): Split handling of
+       X86_XSTATE_ZMM_H and X86_XSTATE_ZMM.
+       (i387_collect_xsave): Likewise.
+
 2018-11-08  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * riscv-tdep.c (riscv_insn::decode): Update header comment.
This page took 0.02828 seconds and 4 git commands to generate.