cheribuild
cheribuild copied to clipboard
Morello hybrid CheriBSD Capability Aware GDB
Hi, I am running a morello hybrid qemu with CheriBSD built using cheribuild and when trying to debug using gdb I find that it does not appear to be capability aware. I there something I need to do to enable this?
Thank you
CHERI GDB has historically been quite lacking for hybrid code for various reasons. Work is currently being done to update it to a newer version of upstream GDB and incorporate improvements from Arm that make hybrid a better experience (and pure-capability code too for Morello specifically, which is also quite poor, due to a lack of disassembly support for C64 mode and capability instructions in general).
Tagging @bsdjhb on general principle.