[binutils-gdb] Class-ify lm_info_dsbt

sergiodj+buildbot@sergiodj.net sergiodj+buildbot@sergiodj.net
Fri Apr 28 23:33:00 GMT 2017


*** TEST RESULTS FOR COMMIT b091120773f8a740065b6449617cfbf1e0e789f4 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: b091120773f8a740065b6449617cfbf1e0e789f4

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.



More information about the Gdb-testers mailing list