New category "gnu-libstdc++" provides summary for std::string and synthetic children for types std::map, std::list and std::vector

The category is enabled by default. If you run into issues with it, disable it and the previous behavior of LLDB is restored
 ** This is a temporary solution. The general solution to having formatters pulled in at startup should involve going through the Platform.
Fixed an issue in type synthetic list where a category with synthetic providers in it was not shown if all the providers were regex-based

llvm-svn: 137850
This commit is contained in:
Enrico Granata
2011-08-17 19:07:52 +00:00
parent 23594f6b44
commit 217f91fc57
9 changed files with 338 additions and 16 deletions

View File

@@ -173,6 +173,11 @@ ScriptInterpreterPython::ScriptInterpreterPython (CommandInterpreter &interprete
interpreter.GetDebugger().GetID());
PyRun_SimpleString (run_string.GetData());
run_string.Clear();
run_string.Printf ("run_one_line (%s, 'from osxcpp import *')", m_dictionary_name.c_str(),
interpreter.GetDebugger().GetID());
PyRun_SimpleString (run_string.GetData());
if (m_dbg_stdout != NULL)
{
m_new_sysout = PyFile_FromFile (m_dbg_stdout, (char *) "", (char *) "w", _check_and_flush);