diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2023-02-03 09:21:25 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-02-03 11:06:26 -0500 |
commit | 57768366319b362bc54bd2175e09b210ce195688 (patch) | |
tree | b46b6cc99eeb04aa076613740993a51f307552bf /gdb/target-descriptions.c | |
parent | 6b0b81b9f2cb056bd82e9c01f4a5f631ae90938b (diff) | |
download | gdb-57768366319b362bc54bd2175e09b210ce195688.zip gdb-57768366319b362bc54bd2175e09b210ce195688.tar.gz gdb-57768366319b362bc54bd2175e09b210ce195688.tar.bz2 |
gdb: remove copy_inferior_target_desc_info
This function is now trivial, we can just copy inferior::tdesc_info
where needed.
Change-Id: I25185e2cd4ba1ef24a822d9e0eebec6e611d54d6
Diffstat (limited to 'gdb/target-descriptions.c')
-rw-r--r-- | gdb/target-descriptions.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/target-descriptions.c b/gdb/target-descriptions.c index 0561a80..6defd5b 100644 --- a/gdb/target-descriptions.c +++ b/gdb/target-descriptions.c @@ -459,17 +459,6 @@ target_desc_info_from_user_p (struct target_desc_info *info) return info != nullptr && !info->filename.empty (); } -/* See target-descriptions.h. */ - -void -copy_inferior_target_desc_info (struct inferior *destinf, struct inferior *srcinf) -{ - struct target_desc_info *src = &srcinf->tdesc_info; - struct target_desc_info *dest = &destinf->tdesc_info; - - *dest = *src; -} - /* The string manipulated by the "set tdesc filename ..." command. */ static std::string tdesc_filename_cmd_string; |