forked from qt-creator/qt-creator
Fixed gdb/python usage on Mac (Snow Leopard).
Reviewed by: hjk
This commit is contained in:
@@ -4420,9 +4420,11 @@ bool GdbEngine::startGdb(const QStringList &args, const QString &gdb, const QStr
|
||||
|
||||
postCommand(_("show version"), CB(handleShowVersion));
|
||||
|
||||
postCommand(_("python execfile('%1dumper.py')").arg(dumperSourcePath),
|
||||
postCommand(_("-interpreter-exec console \"python execfile('%1dumper.py')\"")
|
||||
.arg(dumperSourcePath),
|
||||
NonCriticalResponse);
|
||||
postCommand(_("python execfile('%1gdbmacros.py')").arg(dumperSourcePath),
|
||||
postCommand(_("-interpreter-exec console \"python execfile('%1gdbmacros.py')\"")
|
||||
.arg(dumperSourcePath),
|
||||
NonCriticalResponse);
|
||||
|
||||
postCommand(_("-interpreter-exec console \"help bb\""),
|
||||
|
||||
Reference in New Issue
Block a user