This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Class-ify lm_info_frv
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Fri, 28 Apr 2017 20:12:01 -0400
- Subject: [binutils-gdb] Class-ify lm_info_frv
- Authentication-results: sourceware.org; auth=none
*** 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.