X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=c797e87703f43491c00128658e14f1d85a79241f;hb=b61121178ec07f9da1242e439fe1a23a314ad30e;hp=c30b60efbfd29577448c8bf8a4e5a2173addca6e;hpb=d043f8c867f85f1c36cc957da8204fe2907b3aea;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c30b60efbf..c797e87703 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,34 @@ +2019-12-16 Simon Marchi + + * jit.c (struct gdb_block): Add constructor, initialize + real_block and next fields. + : 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 + + * jit.c: Include forward_list. + (struct gdb_symtab) : Remove field. + (struct gdb_object) : Change type to + std::forward_list. + (jit_object_open_impl): Allocate gdb_object with new. + (jit_symtab_open_impl): Adjust to std::forward_list. + (finalize_symtab): Don't delete symtab. + (jit_object_close_impl): Adjust to std::forward_list. Free + gdb_object with delete. + +2019-12-16 Simon Marchi + + * jit.c (struct gdb_symtab): Add constructor, destructor, + initialize fields. + : Change type to unique_xmalloc_ptr. + : 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 * jit.c (finalize_symtab): Set gdb_block_iter_tmp in loop.