diff options
author | Tom Tromey <tom@tromey.com> | 2017-10-15 11:23:22 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-10-20 09:01:03 -0600 |
commit | 06d5bbc8e5f7541b13509c33b8b3eb8afac27b2f (patch) | |
tree | 6dfe5319761dc96ababebf2d396d1d75c31535c4 /gas/as.c | |
parent | 2712ce2e659f82168154d4533f53d2963ae82571 (diff) | |
download | fsf-binutils-gdb-06d5bbc8e5f7541b13509c33b8b3eb8afac27b2f.zip fsf-binutils-gdb-06d5bbc8e5f7541b13509c33b8b3eb8afac27b2f.tar.gz fsf-binutils-gdb-06d5bbc8e5f7541b13509c33b8b3eb8afac27b2f.tar.bz2 |
Use "new" to allocate gdb_bfd_data
This changes gdb_bfd_data to be allocated with new and destroyed with
delete.
ChangeLog
2017-10-20 Tom Tromey <tom@tromey.com>
* gdb_bfd.c (gdb_bfd_ref): Use new.
(struct gdb_bfd_data): Add constructor, destructor, and member
initializers.
(gdb_bfd_unref): Use delete.
Diffstat (limited to 'gas/as.c')
0 files changed, 0 insertions, 0 deletions