clayborg added a comment. It might make sense to create a new SBTargetSettings class that has accessors. Then we can have to accessors on SBTarget:
class SBTarget { static SBTargetSettings GetGlobalSettings(); SBTargetSettings GetSettings(); }; This allows us to expose settings in a way that would allow us to serialize the settings and then load them again later. class SBTargetSettings { // Accessors for "target...." setting void AppendImageSearchPath(const char *from, const char *to); size_t GetNumImageSearchPaths(); const char *GetImageSearchPathAtIndex(size_t i); // Save and load all settings void Load(SBStream &s); void Save(SBStream &s); }; Repository: rL LLVM https://reviews.llvm.org/D47302 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits