Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.13.3
-
None
-
-
e556463dc7918f1c2a345ccc83296f82c226a2ac (qt-creator/qt-creator/4.14)
Description
The register values are not displaying properly on macOS 10.15.7, using Qt Creator 4.13.3. I don't encounter this same issue on Linux, using Qt Creator 4.11.0.
For example, the value of 0x1389 in register rax displays as 8913000000000000, as opposed to 0000000000001389. It appears that the alignment is wrong and also that the order of the digits is wrong.
I also see that when the code is stopped at a breakpoint at address 0x100003f66 (as shown in the breakpoints view), the program counter register rip shows 663f000001000000, as opposed to 0000000100003f66 (with the same alignment and digit ordering issue reported above for rax).
Here's the code I used. This is a simplified example.
#include <stdio.h> int main() { asm("movq $0x1389, %rax"); printf("Hello World!\n"); return 0; }
Attached is a screenshot, where I've added annotations to highlight the mismatches between the displayed register values and what they seemingly should be.