debugger: prepare use of lldb/cdb with python

Change-Id: If1906728047203128210a40c1b01211388f18ff1
Reviewed-on: http://codereview.qt.nokia.com/852
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2011-06-28 17:38:52 +02:00
committed by hjk
parent 70c6ed0d82
commit c88cf530fe
3 changed files with 83 additions and 337 deletions

View File

@@ -4726,9 +4726,11 @@ void GdbEngine::loadPythonDumpers()
const QByteArray dumperSourcePath =
Core::ICore::instance()->resourcePath().toLocal8Bit() + "/gdbmacros/";
postCommand("python execfile('" + dumperSourcePath + "bridge.py')",
ConsoleCommand|NonCriticalResponse);
postCommand("python execfile('" + dumperSourcePath + "dumper.py')",
ConsoleCommand|NonCriticalResponse);
postCommand("python execfile('" + dumperSourcePath + "gdbmacros.py')",
postCommand("python execfile('" + dumperSourcePath + "qttypes.py')",
ConsoleCommand|NonCriticalResponse);
postCommand("bbsetup",
ConsoleCommand, CB(handleHasPython));