On 8/1/25 9:44 AM, Peter Maydell wrote:
On Fri, 1 Aug 2025 at 17:41, Pierrick Bouvier
<pierrick.bouv...@linaro.org> wrote:
On 8/1/25 9:37 AM, Peter Maydell wrote:
We do at least define the fields so you get a nice view of it:
(gdb) print $cpsr
$4 = [ EL=0 BTYPE=0 Z ]
Do you have specific pretty printers installed? On my debian trixie (gdb
16.3), there is no pretty printer for cpsr by default.
I'm not aware of having installed any. This is
GNU gdb (Ubuntu 15.0.50.20240403-0ubuntu1) 15.0.50.20240403-git
Trying with a ubuntu 24.04 container, I don't see it neither. Maybe
something is missing in my gdbinit.
I was assuming that this was just plain gdb doing something
useful because the xml defines the field names and bitpositions
(at least if your QEMU has commit 63070ce368e1a where Manos
synced our xml to upstream gdb's to add these).
-- PMM