[binutils-gdb] Class-ify lm_info_frv
sergiodj+buildbot@sergiodj.net
sergiodj+buildbot@sergiodj.net
Sat Apr 29 00:12:00 GMT 2017
*** TEST RESULTS FOR COMMIT 4023ae762ed9b52e4925242b705d0b3a50f6ed13 ***
Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 4023ae762ed9b52e4925242b705d0b3a50f6ed13
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.
More information about the Gdb-testers
mailing list