Function report |
Source Code:arch\x86\kernel\kgdb.c |
Create Date:2022-07-28 08:40:49 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:int kgdb_arch_handle_exception(int e_vector, int signo, int err_code, char *remcomInBuffer, char *remcomOutBuffer, struct pt_regs *linux_regs)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | e_vector | |
| int | signo | |
| int | err_code | |
| char * | remcomInBuffer | |
| char * | remcomOutBuffer | |
| struct pt_regs * | linux_regs |
| 447 | Case remcomInBuffer[0] == 'c' |
| 448 | Case remcomInBuffer[0] == 's' |
| 450 | ptr = remcomInBuffer[1] |
| 454 | Case remcomInBuffer[0] == 'D' |
| 455 | Case remcomInBuffer[0] == 'k' |
| 457 | flags &= ~X86_EFLAGS_TF |
| 458 | atomic_set( & kgdb_cpu_doing_single_step, - 1) |
| 461 | If remcomInBuffer[0] == 's' Then |
| 462 | flags |= X86_EFLAGS_TF |
| 467 | Return 0 |
| 471 | Return -1 |
| Name | Describe |
|---|---|
| single_step_cont | |
| gdb_serial_stub | This function performs all gdbserial command procesing |
| gdbstub_state |
| 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 |