cheribuild icon indicating copy to clipboard operation
cheribuild copied to clipboard

Morello hybrid CheriBSD Capability Aware GDB

Open jkressel opened this issue 2 years ago • 2 comments

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

jkressel avatar Oct 17 '22 16:10 jkressel

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).

jrtc27 avatar Oct 17 '22 16:10 jrtc27

Tagging @bsdjhb on general principle.

rwatson avatar Oct 18 '22 07:10 rwatson