Function report |
Source Code:arch\x86\kernel\kgdb.c |
Create Date:2022-07-28 08:40:48 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kgdb_disable_hw_debug - Disable hardware debugging while we in kgdb.*@regs: Current &struct pt_regs.* This function will be called if the particular architecture must* disable hardware debugging while it is processing gdb packets or* handling exception.
Proto:static void kgdb_disable_hw_debug(struct pt_regs *regs)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct pt_regs * | regs |
| 388 | set_debugreg(0UL, 7) |
| 390 | If Not enabled Then Continue |
| 392 | If dbg_is_early Then |
| 393 | early_dr7 &= ~Encode the length, type, Exact, and Enable bits for a particular breakpoint* as stored in debug register 7. |
| 395 | Continue |
| 397 | bp = per_cpu_ptr(pev, cpu) |
| 398 | If disabled == 1 Then Continue |
| 401 | disabled = 1 |
| 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 |