[PATCH v4 01/10] Move tdesc header funcs to c file

Simon Marchi simon.marchi@ericsson.com
Thu Mar 22 20:43:00 GMT 2018


On 2018-03-22 04:44 AM, alan.hayward@arm.com wrote:
> From: Alan Hayward <alan.hayward@arm.com>
> 
> Move the destructor and equals operator for gdbserver tdesc from the .h
> to the .c file. Both functions are too long to be inlined and make the
> header look messy. Patch does not change any functionality.
> Patch identical to V3 version.
> 
> 2018-03-21  Alan Hayward  <alan.hayward@arm.com>
> 
> gdbserver/
> 	* tdesc.c (target_desc::~target_desc): Move to here.
> 	(target_desc::operator==): Likewise.
> 	* tdesc.h (target_desc::~target_desc): Move from here.
> 	(target_desc::operator==): Likewise.

This patch LGTM, feel free to push it by itself, it will be one
less patch to worry about.

Simon



More information about the Gdb-patches mailing list