Create more useful instance names for target, process and thread instances.
Change default 'set' behavior so that all instance settings for the specified variable will be
updated, unless the "-n" ("--no_override") command options is specified.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114808 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Target/TargetList.cpp b/source/Target/TargetList.cpp
index a4adf3f..6033a60 100644
--- a/source/Target/TargetList.cpp
+++ b/source/Target/TargetList.cpp
@@ -101,6 +101,9 @@
target_sp->SetExecutableModule (exe_module_sp, get_dependent_files);
}
}
+
+ if (target_sp.get())
+ target_sp->UpdateInstanceName();
if (target_sp.get())
{