Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6334

How do debug the Linux kernel code path when I press ctrl-c during an application running

$
0
0

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!


Viewing all articles
Browse latest Browse all 6334

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>