I'm getting a kernel hang when I kill a process (ctrl-c) running on my customized Linux kernel. So I'm really curious what happens when I press ctrl-c on that process.
I used "QEMU + gdb" to debug my customized kernel. I tried to break at handle_irq_event
, but that kernel function seems to be executed all the time.
What should I do in this case? Which kernel function should I break into for a keyboard ctrl-c? Any suggestions are welcome. Thanks!