gdb: change inferior::tdesc_info to non-pointer
authorSimon Marchi <simon.marchi@polymtl.ca>
Fri, 3 Feb 2023 14:21:23 +0000 (09:21 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 3 Feb 2023 16:06:26 +0000 (11:06 -0500)
commit79846903c6289b2ff12d1830bc2cbf900710556c
treec89e5a9e8b3face4c8232ecdb730b8c9200a6a6a
parent650160322c09b9b36d4415b56518ab9e71e8acba
gdb: change inferior::tdesc_info to non-pointer

I initially made this field a unique pointer, to have automatic memory
management.  But I then thought that the field didn't really need to be
allocated separately from struct inferior.  So make it a regular
non-pointer field of inferior.

Remove target_desc_info_free, as it's no longer needed.

Change-Id: Ica2b97071226f31c40e86222a2f6922454df1229
gdb/inferior.c
gdb/inferior.h
gdb/target-descriptions.c
gdb/target-descriptions.h