Function report |
Source Code:arch\x86\kernel\step.c |
Create Date:2022-07-28 07:52:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Enable single-stepping. Return nonzero if user mode is not using TF itself.
Proto:static int enable_single_step(struct task_struct *child)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | child |
113 | regs = task_pt_regs(child) |
126 | If Value for the false possibility is greater at compile time(test_tsk_thread_flag(child, able singlestep on user return)) Then flags |= X86_EFLAGS_TF |
134 | Set thread flags in other task's structures.* See asm/thread_info.h for TIF_xxxx flags available: |
139 | flags |= X86_EFLAGS_TF |
150 | If is_setting_trap_flag(child, regs) Then |
152 | Return 0 |
159 | If oflags & X86_EFLAGS_TF Then Return test_tsk_thread_flag(child, rue if TF in eflags artificially ) |
162 | Set thread flags in other task's structures.* See asm/thread_info.h for TIF_xxxx flags available: |
164 | Return 1 |
Name | Describe |
---|---|
enable_step | Enable single or block step. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |