Method and apparatus for debugging internal core state programm of operation system
A technology of operating system and kernel state, which is applied in the field of debugging operating system kernel state programs and devices, and can solve the problems that ordinary debuggers cannot debug programs, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0029] The present invention proposes a new debugging architecture in order to overcome the shortcoming that ordinary debuggers cannot debug and run programs in the operating system kernel state. As shown in Figure 1, the debugging system architecture specifically includes: designing a kernel debugging pile 11, and the debugging pile 11 runs in kernel mode. The foreground debugging agent 12 communicates with the debugging stub 11 , and the debugging stub 11 controls the operation of the kernel thread 13 . The kernel thread 13 feeds back the abnormal information to the debugging stub 11 when encountering an abnormal event, and the debugging stub 11 returns the information to the foreground debugging agent 12 after receiving the abnormal information, and the foreground debugging agent 12 receives the message and returns it to the debugger 14. Therefore, the common user mode debugger 14 can be used to debug the program in the kernel mode, which facilitates the development of the...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 