Debugger: Rework GDB disassembly display

- Use exclusively CLI to retrieve information. MI output misses parts.
- Remove MI output handling
- Re-order lines in ascending address order in mixed output.
  GDB orders by source line, but that's confusing when stepping
- Introduce a new 'hunk' field for source lines to give a hint
  which part of a split source line we are looking at.

Change-Id: I61a547503e9a18f95e99b897e26dbb207cabb8cf
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
hjk
2014-04-11 18:35:37 +02:00
parent 0d19eb8db0
commit 8521f54f39
4 changed files with 64 additions and 186 deletions

View File

@@ -227,6 +227,8 @@ QString DisassemblerLine::toString() const
str += _(" ");
str += data;
} else if (isCode()) {
if (hunk)
str += _("[%1]").arg(hunk);
str += someSpace;
str += data;
} else {