debugbreak icon indicating copy to clipboard operation
debugbreak copied to clipboard

Unable to continue after debug_break() on Fedora Linux under Parallels (both gdb + lldb)

Open tim-rex opened this issue 1 year ago • 0 comments

While I seem able to use this library as intended on an M2 based mac with Xcode... I seem to be having trouble with both GDB and LLVM when running Fedora 38 under a Parallels based VM (arm64).

In both cases, debug_break() descends into an implementation of 'trap_instruction' that issues an appropriate breakpoint for aarch64 (.inst 0xd4200000)

In both cases, the breakpoint is caught (SIGTRAP) yet I am unable to step beyond or continue the debug session.

I've confirmed the same behviour with command line debuggerse as well as with VScode (both gdb and llvm)

tim-rex avatar Jun 30 '23 10:06 tim-rex