Commit 30ab7ea0 authored by hjk's avatar hjk Committed by hjk
Browse files

debugger: fix off-by-one in address display in symbols view



Change-Id: If7857d728be059c16c2d0458dd8ebf0a49cf544c
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent e85886d6
...@@ -3326,7 +3326,7 @@ void GdbEngine::handleShowModuleSymbols(const GdbResponse &response) ...@@ -3326,7 +3326,7 @@ void GdbEngine::handleShowModuleSymbols(const GdbResponse &response)
if (posAddress == -1) if (posAddress == -1)
continue; continue;
int posName = line.indexOf(" ", posAddress); int posName = line.indexOf(" ", posAddress);
int lenAddress = posName - posAddress - 1; int lenAddress = posName - posAddress;
int posSection = line.indexOf(" section "); int posSection = line.indexOf(" section ");
int lenName = 0; int lenName = 0;
int lenSection = 0; int lenSection = 0;
......
Supports Markdown
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