Commit ab6330ab authored by hjk's avatar hjk

debugger: remove outdated inactive code

Change-Id: I167a04c3500d0cb4bea1b5390c8920b93fc72ad0
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 03228170
......@@ -1917,7 +1917,6 @@ QString GdbEngine::fullName(const QString &fileName)
{
if (fileName.isEmpty())
return QString();
//QTC_ASSERT(!m_sourcesListOutdated, /* */);
QTC_ASSERT(!m_sourcesListUpdating, /* */);
return m_shortToFullName.value(fileName, QString());
}
......@@ -4726,9 +4725,6 @@ void GdbEngine::startGdb(const QStringList &args)
// Produces a few messages during symtab loading
//postCommand("set verbose on");
//postCommand("set substitute-path /var/tmp/qt-x11-src-4.5.0 "
// "/home/sandbox/qtsdk-2009.01/qt");
// one of the following is needed to prevent crashes in gdb on code like:
// template <class T> T foo() { return T(0); }
// int main() { return foo<int>(); }
......@@ -4747,9 +4743,6 @@ void GdbEngine::startGdb(const QStringList &args)
// uninitialized variables).
postCommand("handle SIGSEGV nopass stop print");
// This is useful to kill the inferior whenever gdb dies.
//postCommand(_("handle SIGTERM pass nostop print"));
postCommand("set unwindonsignal on");
postCommand("set width 0");
postCommand("set height 0");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment