diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-04-28 17:16:14 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-04-28 17:16:14 -0400 |
commit | b091120773f8a740065b6449617cfbf1e0e789f4 (patch) | |
tree | 9333715621ba58e3c792481d5892e26379cccd8e /gdb/xml-support.c | |
parent | 6c401f72e979ddd7e2f890dcc88f93f683233d74 (diff) | |
download | gdb-b091120773f8a740065b6449617cfbf1e0e789f4.zip gdb-b091120773f8a740065b6449617cfbf1e0e789f4.tar.gz gdb-b091120773f8a740065b6449617cfbf1e0e789f4.tar.bz2 |
Class-ify lm_info_dsbt
This patches makes lm_info_dsbt a "real" class. It introduces a
destructor, initializes the field and replaces XCNEW/xfree with
new/delete.
gdb/ChangeLog:
* solib-dsbt.c (struct lm_info_dsbt): Add destructor, initialize
map field.
(dsbt_current_sos): Allocate lm_info_dsbt with new.
(dsbt_relocate_main_executable): Free lm_info_dsbt with delete
and allocate with new.
(dsbt_clear_solib, dsbt_free_so): Free lm_info_dsbt with delete.
Diffstat (limited to 'gdb/xml-support.c')
0 files changed, 0 insertions, 0 deletions