forked from qt-creator/qt-creator
debugger: refactor the dumper class to make it work with gdb 7.0
This is an attempt to make it work with released gdb 7.0. It uses some ugly workarounds to compensate for the missing gdb.Block and gdb.Symbol structures.
This commit is contained in:
@@ -4365,8 +4365,8 @@ bool GdbEngine::startGdb(const QStringList &args, const QString &gdb, const QStr
|
||||
|
||||
postCommand(_("show version"), CB(handleShowVersion));
|
||||
|
||||
postCommand(_("source -p ") + dumperSourcePath + _("dumper.py"));
|
||||
postCommand(_("source -p ") + dumperSourcePath + _("gdbmacros.py"));
|
||||
postCommand(_("python execfile('%1dumper.py')").arg(dumperSourcePath));
|
||||
postCommand(_("python execfile('%1gdbmacros.py')").arg(dumperSourcePath));
|
||||
|
||||
postCommand(_("-interpreter-exec console \"help bb\""),
|
||||
CB(handleIsSynchroneous));
|
||||
|
||||
Reference in New Issue
Block a user