APP cannot be interrupted to gdb console by contrl+c, if APP enters into kernel mode via ioctl.
He Leon via Gdb <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <ME3PR01MB61043A7A2467138DC84E7B63EEB59@ME3PR01MB6104.ausprd01.prod.outlook.com> |
Hi all, I meet an issue while debugging APP by gdb. I have a very simple APP and a very simple Kernel Mode Driver. APP accesses Kernel Mode Driver via IOCTL. When I debug APP in User Mode by gdb, I found if APP enters and stays inside IOCTL, the APP cannot be interrupted to gdb console by control+C. The issue is quite easy to be reproduced. I have reproduced it over different versions of kernel or gdb. Is there such limitation for: gdb doesn't work if APP enters and stays in kernel mode? Thanks