Update documentation of function copy_type_recursive
authorPatrick Palka <patrick@parcs.ath.cx>
Sat, 29 Aug 2015 22:16:40 +0000 (18:16 -0400)
committerPatrick Palka <patrick@parcs.ath.cx>
Thu, 3 Sep 2015 00:50:46 +0000 (20:50 -0400)
commiteed8b28a07c32f835dfb4ff21fb9c0bf33c738df
treefdaccb1794d62811bb49a3e78f14b4211c50fccc
parent8cbebaac8f387aa0987410243c9f0d3a51041750
Update documentation of function copy_type_recursive

Following commit 8f57eec2fb3 ("Use gdbarch obstack to allocate types in
alloc_type_arch") it is no longer the case that the type returned by
copy_type_recursive is allocated using malloc.  Because the function
uses alloc_type_arch internally, the new type is now allocated on the
gdbarch associated with the type, and is thus owned by that gdbarch.

gdb/ChangeLog:

* gdbtypes.c (copy_type_recursive): Update documentation.
gdb/ChangeLog
gdb/gdbtypes.c