forked from Imagelibrary/binutils-gdb
gdb: remove copy_inferior_target_desc_info
This function is now trivial, we can just copy inferior::tdesc_info where needed. Change-Id: I25185e2cd4ba1ef24a822d9e0eebec6e611d54d6
This commit is contained in:
committed by
Simon Marchi
parent
6b0b81b9f2
commit
5776836631
@@ -962,7 +962,7 @@ clone_inferior_command (const char *args, int from_tty)
|
||||
/* If the original inferior had a user specified target
|
||||
description, make the clone use it too. */
|
||||
if (target_desc_info_from_user_p (&inf->tdesc_info))
|
||||
copy_inferior_target_desc_info (inf, orginf);
|
||||
inf->tdesc_info = orginf->tdesc_info;
|
||||
|
||||
clone_program_space (pspace, orginf->pspace);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user