You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 is mrstx0, 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.
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 arm-none-eabi-gdb provided by devkitARM, version 8.0) the code that appears in the browser window looks a little something like this: https://imgur.com/TD9Jhjz
Could this perhaps have something to do with a failure to properly interpret \t? If pointed in the right direction, I might be able to poke around for the bug a bit.
Also note that this issue occurs on 32-bit ARM as well (OP is debugging Aarch64).
Looks like this bug has been fixed in a more recent commit/release. If I run gdbgui using the latest pip release, the formatting error appears to still be present. Serving gdbgui from source via master appears to fix this issue however.
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
):The text was updated successfully, but these errors were encountered: