Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDebugging ARM code shows instructions incorrectly #264
Comments
|
I'd like to draw a little more attention to this, as I'm running into it as well. When debugging some code on the Nintendo 3DS (using a patched |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Describe the bug
I was just giving it a shot on ARM (remote debugging) and noticed a few things. The height of the rows for in the register view make it so that you can only see about 15 registers at once. Could that be scaled back/down? Also, the instructions shown in the debug window are a bit munged together.
The first instruction shown in the screenshot is
msr x0, ttbr0_el3. But what is shown in the gdbgui window ismrstx0, ttbr0_el3. It's thrown together the mrs and the x0 while also putting a random t in the mix.To Reproduce
Debug baremetal/kernel ARM code. The instruction display issue might be present on any ARM code, but certainly the use of MSRs (as shown) is not.
Screenshots
https://imgur.com/a/wU9I4PZ
Please complete the following information:
gdbgui -v): 0.13.1.1gdb -v): 8.2.1pip freeze):