RE: [PATCH 6/7] jit: c++-ify gdb_block

Aktemur, Tankut Baris
2019-12-13T07:54:33Z

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 891 bytes --]

* On Friday, December 13, 2019 7:03 AM, Simon Marchi wrote:
>
> Add a constructor to gdb_block, change the name field to be a
> gdb::unique_xmalloc_ptr.
>
> gdb/ChangeLog:
>
> * jit.c (struct gdb_block): Add constructor, initialize
> real_block field.
> <name): Change type to gdb::unique_xmalloc_ptr.

Minor typo: "<name" -> "<name>"

Regards,
-Baris

> (struct gdb_symtab) <~gdb_symtab>: Free blocks with delete.
> (jit_block_open_impl): Use gdb_block constructor.
> (finalize_symtab): Adjust to gdb::unique_xmalloc_ptr.

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
\x16º&Öéj×!zÊÞ¶êç×­µïIb²Ö«r\x18\x1dn–­r\x17¬