diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-05-07 16:28:56 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-05-07 16:28:56 -0400 |
commit | 0b2f7ade5352e698ded54760ee8b34092fdd164f (patch) | |
tree | 83cdc4158db66e4fba4371f24ccb36591179d7c6 /gdb/arch-utils.h | |
parent | 820c449092aaee52e96676ffd7c9760126b85ad7 (diff) | |
download | gdb-0b2f7ade5352e698ded54760ee8b34092fdd164f.zip gdb-0b2f7ade5352e698ded54760ee8b34092fdd164f.tar.gz gdb-0b2f7ade5352e698ded54760ee8b34092fdd164f.tar.bz2 |
gdb: (de-)allocate target_desc_info with new/delete
In preparation for using non-POD types in the struct.
gdb/ChangeLog:
* target-descriptions.c (struct target_desc_info): Initialize
fields.
(get_tdesc_info): Use new.
(target_desc_info_free): Use delete.
Change-Id: I10fdaeeae7cdbd7930ae7adeeb13f7f363c67c7a
Diffstat (limited to 'gdb/arch-utils.h')
0 files changed, 0 insertions, 0 deletions