forked from qt-creator/qt-creator
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user