forked from qt-creator/qt-creator
debugger: rework core adapter
The name of the binary is now read using the elfreader instead of attaching gdb twice. Change-Id: I7a75bc64278c4f43e7085d2e479b53173602c966 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -220,7 +220,7 @@ void ModulesModel::updateModule(const Module &module)
|
||||
{
|
||||
const int row = indexOfModule(module.modulePath);
|
||||
ElfReader reader(module.modulePath);
|
||||
ElfSections sections = reader.sections();
|
||||
ElfHeaders sections = reader.readHeaders();
|
||||
if (row == -1) {
|
||||
const int n = m_modules.size();
|
||||
beginInsertRows(QModelIndex(), n, n);
|
||||
|
||||
Reference in New Issue
Block a user