Fixed gdb/python usage on Mac (Snow Leopard).

Reviewed by: hjk
This commit is contained in:
Erik Verbruggen
2009-12-14 12:11:09 +01:00
parent 0af3c1f13a
commit e600c0ddba

View File

@@ -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\""),