| Function report | 
| Source Code: kernel\debug\gdbstub.c | Create Date:2022-07-28 11:38:31 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:While we find nice hex chars, build a long_val.* Return number of chars processed.
Proto:int kgdb_hex2long(char **ptr, unsigned long *long_val)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| char ** | ptr | |
| unsigned long * | long_val | 
| 296 | num = 0 | 
| 297 | negate = 0 | 
| 299 | long_val = 0 | 
| 301 | If ptr == '-' Then | 
| 306 | hex_val = hex_to_bin - convert a hex digit to its real value*@ch: ascii character represents hex digit* hex_to_bin() converts one hex digit to its actual value or -1 in case of bad* input. | 
| 307 | If hex_val < 0 Then Break | 
| 311 | num++ | 
| 312 | ptr++ | 
| 318 | Return num | 
| Name | Describe | 
|---|---|
| kgdb_arch_handle_exception | 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. | 
| write_mem_msg | Write memory due to an 'M' or 'X' packet. | 
| gdb_cmd_memread | Handle the 'm' memory read bytes | 
| gdb_cmd_query | Handle the 'q' query packets | 
| gdb_cmd_task | Handle the 'H' task query packets | 
| gdb_cmd_thread | Handle the 'T' thread query packets | 
| gdb_cmd_break | Handle the 'z' or 'Z' breakpoint remove or set packets | 
| 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 |