jit: c++-ify gdb_symtab
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index c30b60efbfd29577448c8bf8a4e5a2173addca6e..86718ad83e275d088356078f6420fd0133373f52 100644 (file)
@@ -1,3 +1,13 @@
+2019-12-16  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * jit.c (struct gdb_symtab): Add constructor, destructor,
+       initialize fields.
+       <linetable>: Change type to unique_xmalloc_ptr.
+       <file_name>: Change type to std::string.
+       (jit_symtab_open_impl): Allocate gdb_symtab with new.
+       (jit_symtab_line_mapping_add_impl): Adjust.
+       (finalize_symtab): Adjust, call delete on stab.
+
 2019-12-16  Simon Marchi  <simon.marchi@polymtl.ca>
 
        * jit.c (finalize_symtab): Set gdb_block_iter_tmp in loop.
This page took 0.024882 seconds and 4 git commands to generate.