diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-04-28 17:16:16 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-04-28 17:16:16 -0400 |
commit | 4023ae762ed9b52e4925242b705d0b3a50f6ed13 (patch) | |
tree | 522ec0b58a8a853aca5eecc3fc8d73f6df89d2fa /gdb/solib-svr4.c | |
parent | af43057bafa7260dbcc453d2acc47eb63b974c50 (diff) | |
download | gdb-4023ae762ed9b52e4925242b705d0b3a50f6ed13.zip gdb-4023ae762ed9b52e4925242b705d0b3a50f6ed13.tar.gz gdb-4023ae762ed9b52e4925242b705d0b3a50f6ed13.tar.bz2 |
Class-ify lm_info_frv
This patches makes lm_info_frv a "real" class. It adds a destructor,
initializes the fields and replaces XCNEW/xfree with new/delete.
gdb/ChangeLog:
* solib-frv.c (struct lm_info_frv): Add destructor, initialize
fields.
(frv_current_sos): Allocate lm_info_frv with new.
(frv_relocate_main_executable): Free lm_info_frv with delete,
allocate with new.
(frv_clear_solib, frv_free_so): Free lm_info_frv with delete.
Diffstat (limited to 'gdb/solib-svr4.c')
0 files changed, 0 insertions, 0 deletions