Hi everyone, when I use gdb attaching a process to debug a python mixed with C++ program, it gets the following error:
../../gdb/jit.c:1278: internal-error: void jit_event_handler(gdbarch*, objfile*): Assertion `jiter->jiter_data != nullptr' failed. A problem internal to GDB has been detected, further debugging may prove unreliable.
It seems that there is a bug in fedora 34 gdb-10.2.3, I find a patch which might be used for gdb, and I follow this instruction to apply this change, but it still doesn’t work. so anyone can give some advice about how to fix this, Thanks!