Hello,

I’m attempting to debug (via gdb) an x86_64 binary running under user mode 
qemu-x86_64 on an aarch64 machine. Usually, when debugging with gdb, Ctrl-C 
will break the program being debugged. However, when trying this when connected 
to qemu-user’s gdbstub, the target process doesn’t break. I had a quick look at 
the code which may implement handling the packet that is sent by gdb but it 
appears to be #ifdef’d out in the user mode emulation case.

Is breaking into a program being debugged in the user space emulator supposed 
to work?

Many thanks.

Reply via email to