Class-ify lm_info_frv
authorSimon Marchi <simon.marchi@ericsson.com>
Fri, 28 Apr 2017 21:16:16 +0000 (17:16 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Fri, 28 Apr 2017 21:16:16 +0000 (17:16 -0400)
commit4023ae762ed9b52e4925242b705d0b3a50f6ed13
tree522ec0b58a8a853aca5eecc3fc8d73f6df89d2fa
parentaf43057bafa7260dbcc453d2acc47eb63b974c50
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.
gdb/ChangeLog
gdb/solib-frv.c
This page took 0.025884 seconds and 4 git commands to generate.