jit: c++-ify gdb_block
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index b70f3fa04fd926f5b69eaeae318093f74f318632..c797e87703f43491c00128658e14f1d85a79241f 100644 (file)
@@ -1,3 +1,12 @@
+2019-12-16  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * jit.c (struct gdb_block): Add constructor, initialize
+       real_block and next fields.
+       <name>: Change type to gdb::unique_xmalloc_ptr.
+       (struct gdb_symtab) <~gdb_symtab>: Free blocks with delete.
+       (jit_block_open_impl): Allocate gdb_block with new.
+       (finalize_symtab): Adjust to gdb::unique_xmalloc_ptr.
+
 2019-12-16  Simon Marchi  <simon.marchi@polymtl.ca>
 
        * jit.c: Include forward_list.
This page took 0.025381 seconds and 4 git commands to generate.