diff options
author | hjk <qtc-committer@nokia.com> | 2012-06-05 19:55:32 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-06-06 09:41:08 +0200 |
commit | 2d466528c95599004f8025be8936c35453cbcbd8 (patch) | |
tree | 004a12029baa8da8afdb0e079e839f3d4c350b5b /src/plugins/debugger/moduleshandler.cpp | |
parent | 291e23d0e1cefcdc5197f7333182f6fb87b52f38 (diff) | |
download | qt-creator-2d466528c95599004f8025be8936c35453cbcbd8.tar.gz |
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>
Diffstat (limited to 'src/plugins/debugger/moduleshandler.cpp')
-rw-r--r-- | src/plugins/debugger/moduleshandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/moduleshandler.cpp b/src/plugins/debugger/moduleshandler.cpp index fce0f406bd..794472b1e9 100644 --- a/src/plugins/debugger/moduleshandler.cpp +++ b/src/plugins/debugger/moduleshandler.cpp @@ -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); |