[binutils-gdb] read/write_pieced_value: Drop 'buffer_size' variable

sergiodj+buildbot@sergiodj.net sergiodj+buildbot@sergiodj.net
Wed Jun 14 05:39:00 GMT 2017


*** TEST RESULTS FOR COMMIT 840989c113433c069f54872d7e051e1572202326 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 840989c113433c069f54872d7e051e1572202326

read/write_pieced_value: Drop 'buffer_size' variable

When the variable 'buffer_size' in read_pieced_value and
write_pieced_value was introduced, it was needed for tracking the buffer's
allocated size.  Now that the buffer's data type has been changed to a
std::vector, the variable is no longer necessary; so remove it.

gdb/ChangeLog:

	* dwarf2loc.c (read_pieced_value): Remove buffer_size variable.
	(write_pieced_value): Likewise.



More information about the Gdb-testers mailing list