diff options
author | Tom Tromey <tom@tromey.com> | 2020-09-23 09:32:54 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-09-23 09:32:55 -0600 |
commit | 0dbf6ee6a074208ef8f95ee3d2f7e4369265e456 (patch) | |
tree | 3f47a6acb2a060b47a28b125409127d61cbc8967 /intl/configure | |
parent | ebe824f5dcf96c8f70e07affb44c3a1679849e28 (diff) | |
download | binutils-gdb-0dbf6ee6a074208ef8f95ee3d2f7e4369265e456.tar.gz |
Use new/delete for do_module_cleanup
This changes do_module_cleanup to use new and delete. It also removes
the use of the struct hack from this object -- this requires more
allocations for now, but this will be removed in a subsequent patch.
gdb/ChangeLog
2020-09-23 Tom Tromey <tom@tromey.com>
* compile/compile-object-run.c (struct do_module_cleanup): Add
constructor, destructor.
<objfile_name_string>: Don't use struct hack.
(do_module_cleanup): Use delete.
(compile_object_run): Use new.
Diffstat (limited to 'intl/configure')
0 files changed, 0 insertions, 0 deletions