]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[PATCH V3 1/8] Move tdesc header funcs to c file
authorAlan Hayward <alan.hayward@arm.com>
Thu, 1 Mar 2018 10:58:49 +0000 (10:58 +0000)
committerAlan Hayward <alan.hayward@arm.com>
Thu, 1 Mar 2018 10:59:12 +0000 (10:59 +0000)
commitfb9434129af1da94d412fa6469fdce2516f77596
tree0c758f140a7dc57641e7161cc35f65a53a7af7a3
parentca8e0133c4a99d9828beab2fc95699e9fb73815c
[PATCH V3 1/8] Move tdesc header funcs to c file

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.

2018-03-01  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.
gdb/gdbserver/tdesc.c
gdb/gdbserver/tdesc.h