Make find_separate_debug_file* return std::string
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 31c0d5c7ed543ce3a6defd2c270ba0b6e839428f..7e4bd95b8b88b5f94c587fc04349aa29bf6e25ad 100644 (file)
@@ -1,3 +1,193 @@
+2018-03-08  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * build-id.c (find_separate_debug_file_by_buildid): Return
+       std::string.
+       * build-id.h (find_separate_debug_file_by_buildid): Return
+       std::string.
+       * coffread.c (coff_symfile_read): Adjust to std::string.
+       * elfread.c (elf_symfile_read): Adjust to std::string.
+       * symfile.c (separate_debug_file_exists): Change parameter to
+       std::string.
+       (find_separate_debug_file): Return std::string.
+       (find_separate_debug_file_by_debuglink): Return std::string.
+       * symfile.h (find_separate_debug_file_by_debuglink): Return
+       std::string.
+
+2018-03-08  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * common/xml-utils.c (xml_escape_text): Move code to...
+       (xml_escape_text_append): ... this new function.
+       * common/xml-utils.h (xml_escape_text_append): New declaration.
+       * unittests/xml-utils-selftests.c (test_xml_escape_text_append):
+       New function.
+       (_initialize_xml_utils): register test_xml_escape_text_append as
+       a selftest.
+
+2018-03-07  Alan Hayward  <alan.hayward@arm.com>
+
+       * defs.h: Remove MAX_REGISTER_SIZE.
+       * regcache.c (init_regcache_descr): Remove MAX_REGISTER_SIZE
+       asserts.
+       * python/py-unwind.c (pyuw_sniffer): Likewise.
+
+2018-03-07  Tom Tromey  <tom@tromey.com>
+
+       * linux-tdep.c (linux_info_proc): Update.
+       * target.h (struct target_ops) <to_fileio_readlink>: Return
+       optional<string>.
+       (target_fileio_readlink): Return optional<string>.
+       * remote.c (remote_hostio_readlink): Return optional<string>.
+       * inf-child.c (inf_child_fileio_readlink): Return
+       optional<string>.
+       * target.c (target_fileio_readlink): Return optional<string>.
+
+2018-03-07  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * regcache.c (cooked_read_test): Add riscv to the list of
+       architectures that have a save_reggroup.
+
+2018-03-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gnu-v3-abi.c (gnuv3_rtti_type): Add early exit if the given
+       value is not a dynamic class object.
+
+2018-03-06  Tom Tromey  <tom@tromey.com>
+
+       * rust-exp.y: Formatting fixes.
+
+2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * riscv-tdep.c (riscv_register_name): Remove target description
+       support.
+       (riscv_gdbarch_init): Remove target description check.
+
+2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * riscv-tdep.c: Remove 'Contributed by ...' lines from header
+       comment.
+       * riscv-tdep.h: Likewise.
+
+2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * riscv-tdep.c (riscv_pseudo_register_read): Delete.
+       (riscv_pseudo_register_write): Delete.
+       (riscv_gdbarch_init): Remove all use of pseudo registers.
+
+2018-03-06  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * record-btrace.c (btrace_print_lines): Replace cleanup
+       parameter with RAII equivalents.
+       (btrace_insn_history): Replace cleanup with RAII equivalents.
+       * ui-out.h (make_cleanup_ui_out_list_begin_end,
+       make_cleanup_ui_out_tuple_begin_end): Remove.
+       * ui-out.c (struct ui_out_end_cleanup_data, do_cleanup_end,
+       make_cleanup_ui_out_end, make_cleanup_ui_out_tuple_begin_end,
+       make_cleanup_ui_out_list_begin_end): Remove.
+
+2018-03-06  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * record-btrace.c (record_btrace_maybe_mark_async_event): Change
+       parameter types to std::vector.  Use bool.
+       (record_btrace_wait): Replace VEC(tp_t) with
+       std::vector<thread_info *>.
+       * common/gdb_vecs.h (unordered_remove, ordered_remove): New.
+
+2018-03-06  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * record-btrace.c (record_btrace_disable_callback): Remove.
+       (struct scoped_btrace_disable): New.
+       (record_btrace_open): Use scoped_btrace_disable.
+
+2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * riscv-tdep.c (riscv_return_value): Change type to ULONGEST for
+       reading values from registers.
+
+2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * riscv-tdep.c (riscv_push_dummy_call): Use core_addr_to_string_nz
+       where appropriate.
+
+2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * riscv-tdep.c (riscv_print_arg_location): Add header comment,
+       change parameter type.  Use GDB's print functions, and use
+       core_addr_to_string where appropriate.
+       (riscv_push_dummy_call): Use core_addr_to_string where
+       appropriate, update call to riscv_print_arg_location, and reindent
+       a few lines.
+       (riscv_return_value): Update call to riscv_print_arg_location.
+
+2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+           Tim Newsome <tim@sifive.com>
+           Albert Ou <a0u@eecs.berkeley.edu>
+           Darius Rad <darius@bluespec.com>
+
+       * Makefile.in (ALL_TARGET_OBS): Add riscv-tdep.o
+       (HFILES_NO_SRCDIR): Add riscv-tdep.h.
+       (ALLDEPFILES): Add riscv-tdep.c
+       * configure.tgt: Add riscv support.
+       * riscv-tdep.c: New file.
+       * riscv-tdep.h: New file.
+       * NEWS: Mention new target.
+       * MAINTAINERS: Add entry for riscv.
+
+2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * amd64-tdep.c (amd64_classify_aggregate): Ignore zero sized
+       fields within aggregates.
+
+2018-03-04  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * record-btrace.c (btrace_print_lines): Change type of flags to
+       gdb_disassembly_flags.
+
+2018-03-04  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-nat.c: Include "inf-ptrace.h".
+       (USE_SIGTRAP_SIGINFO): Conditionally define.
+       [USE_SIGTRAP_SIGINFO] (fbsd_handle_debug_trap): New function.
+       (fbsd_wait) [USE_SIGTRAP_SIGINFO]: Call "fbsd_handle_debug_trap".
+       [USE_SIGTRAP_SIGINFO] (fbsd_stopped_by_sw_breakpoint): New
+       function.
+       [USE_SIGTRAP_SIGINFO] (fbsd_supports_stopped_by_sw_breakpoint):
+       Likewise.
+       [USE_SIGTRAP_SIGINFO] (fbsd_supports_stopped_by_hw_breakpoint):
+       Likewise.
+       (fbsd_nat_add_target) [USE_SIGTRAP_SIGINFO]: Set
+       "stopped_by_sw_breakpoint", "supports_stopped_by_sw_breakpoint",
+       "supports_stopped_by_hw_breakpoint" target methods.
+
+2018-03-04  John Baldwin  <jhb@FreeBSD.org>
+
+       * NEWS (Changes since GDB 8.1): Add "set/show debug fbsd-nat".
+       * fbsd-nat.c (debug_fbsd_nat): New variable.
+       (show_fbsd_nat_debug): New function.
+       (fbsd_wait): Log LWP info if "debug_fbsd_nat" is enabled.
+       (_initialize_fbsd_nat): Add "fbsd-nat" debug boolean command.
+
+2018-03-04  John Baldwin  <jhb@FreeBSD.org>
+
+       * nat/x86-dregs.c (x86_dr_stopped_by_hw_breakpoint): New function.
+       * nat/x86-dregs.h (x86_dr_stopped_by_hw_breakpoint): New
+       prototype.
+       * x86-nat.c (x86_stopped_by_hw_breakpoint): New function.
+       (x86_use_watchpoints): Set "stopped_by_hw_breakpoint" target
+       method.
+
+2018-03-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * common/gdb_vecs.c (free_char_ptr_vec): Remove.
+       * common/gdb_vecs.h (free_char_ptr_vec): Remove.
+
+2018-03-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * charset.c (struct charset_vector): New.
+       (charsets): Change type to charset_vector.
+       (find_charset_names): Adjust.
+       (add_one): Adjust.
+       (_initialize_charset): Adjust.
+
 2018-03-02  Simon Marchi  <simon.marchi@polymtl.ca>
 
        * progspace.h (struct program_space) <deleted_solibs>: Change
This page took 0.026803 seconds and 4 git commands to generate.