gdb: move target_desc_info to inferior.h
authorSimon Marchi <simon.marchi@polymtl.ca>
Fri, 3 Feb 2023 14:21:22 +0000 (09:21 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 3 Feb 2023 16:06:26 +0000 (11:06 -0500)
commit650160322c09b9b36d4415b56518ab9e71e8acba
tree536489e595bc8adb0ef635f2ded53627221e0449
parente3ee979c1f24984eb93b32822338aa425afbc2af
gdb: move target_desc_info to inferior.h

In preparation for the following patch, where struct inferior needs to
"see" struct target_desc_info, move target_desc_info to the header file.

I initially moved the structure to target-descriptions.h, and later made
inferior.h include target-descriptions.h.  This worked, but it then
occured to me that target_desc_info is really an inferior property that
involves a target description, so I think it makes sense to have it in
inferior.h.

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