函数逻辑报告 |
Source Code:arch\x86\kernel\kgdb.c |
Create Date:2022-07-27 09:40:01 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:kgdb_arch_handle_exception - Handle architecture specific GDB packets.*@e_vector: The error vector of the exception that happened.*@signo: The signal number of the exception that happened.*@err_code: The error code of the exception that happened.
函数原型:int kgdb_arch_handle_exception(int e_vector, int signo, int err_code, char *remcomInBuffer, char *remcomOutBuffer, struct pt_regs *linux_regs)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| int | e_vector | |
| int | signo | |
| int | err_code | |
| char * | remcomInBuffer | |
| char * | remcomOutBuffer | |
| struct pt_regs * | linux_regs |
| 447 | 当:remcomInBuffer[0]恒等于'c' |
| 448 | 当:remcomInBuffer[0]恒等于's' |
| 450 | ptr等于remcomInBuffer[1] |
| 454 | 当:remcomInBuffer[0]恒等于'D' |
| 455 | 当:remcomInBuffer[0]恒等于'k' |
| 457 | flags与等于X86_EFLAGS_TF的反 |
| 458 | atomic_set( & kgdb_cpu_doing_single_step, - 1) |
| 461 | 如果remcomInBuffer[0]恒等于's'则 |
| 462 | flags或等于X86_EFLAGS_TF |
| 467 | 返回:0 |
| 471 | 返回:负1 |
| 名称 | 描述 |
|---|---|
| single_step_cont | |
| gdb_serial_stub | This function performs all gdbserial command procesing |
| gdbstub_state |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |