Use std::unique_ptr in reg_buffer
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index a10155bd958c6e333b4e4f627d196a7c29571ede..160023214dc750ea05776279de8955eec46fe2b2 100644 (file)
@@ -1,3 +1,62 @@
+2018-06-09  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * regcache.h (reg_buffer) <~reg_buffer>: Use default destructor.
+       <m_registers, m_register_status>: Change type to
+       std::unique_ptr.
+       * regcache.c (reg_buffer::reg_buffer): Use new instead of
+       XCNEWVEC.
+
+2018-06-09  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * common/common-regcache.h (enum register_status): Add
+       underlying type "signed char".
+       * regcache.h (reg_buffer) <m_register_status>: Change type to
+       register_status *.
+       * regcache.c (reg_buffer::reg_buffer): Alocate arrays of
+       register_status instead of signed char.
+       (reg_buffer::save): Use REG_UNKNOWN instead of 0.
+       (reg_buffer::get_register_status): Remove cast.
+       (readable_regcache::raw_read): Remove cast.
+       (readable_regcache::cooked_read): Remove cast.
+
+2018-06-09  Tom Tromey  <tom@tromey.com>
+
+       * source.c (reverse_search_command, forward_search_command): Use
+       scoped_fd.
+
+2018-06-09  Tom Tromey  <tom@tromey.com>
+
+       * serial.c (serial_ops_p): Remove typedef.  Don't declare VEC.
+       (serial_ops_list): Now static, std::vector.
+       (serial_interface_lookup, serial_add_interface): Update.
+
+2018-06-09  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2read.c (process_cu_includes): Update.
+       (process_full_comp_unit): Update.
+       * dwarf2read.h (struct dwarf2_per_objfile) <just_read_cus>: Now a
+       std::vector.
+
+2018-06-08  Paul Koning  <paul_koning@dell.com>
+
+       PR gdb/23252
+
+       * python/python.c (do_start_initialization):
+       Avoid call to internal Python API.
+       (init__gdb_module): New function.
+
+2018-06-08  Gary Benson <gbenson@redhat.com>
+
+       * linux-thread-db.c (valprint.h): New include.
+       (struct check_thread_db_info): New structure.
+       (check_thread_db_on_load, tdb_testinfo): New static globals.
+       (check_thread_db, check_thread_db_callback): New functions.
+       (try_thread_db_load_1): Run integrity checks if requested.
+       (maintenance_check_libthread_db): New function.
+       (_initialize_thread_db): Register "maint check libthread-db"
+       and "maint set/show check-libthread-db".
+       * NEWS: Mention the above new commands.
+
 2018-06-08  Tom Tromey  <tom@tromey.com>
 
        * windows-nat.c (windows_nat_target::xfer_partial): "beneath" is
This page took 0.024507 seconds and 4 git commands to generate.