Function report | 
Source Code:kernel\debug\debug_core.c | 
Create Date:2022-07-28 11:37:35 | 
| Last Modify:2020-03-17 19:04:10 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:dbg_set_sw_break
Proto:int dbg_set_sw_break(unsigned long addr)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned long | addr | 
| 333 | err = kgdb_validate_break_address(addr) | 
| 334 | breakno = -1 | 
| 340 | When i < KGDB_MAX_BREAKPOINTS cycle | 
| 345 | When i < KGDB_MAX_BREAKPOINTS cycle | 
| 353 | If breakno == -1 Then | 
| 354 | When i < KGDB_MAX_BREAKPOINTS cycle | 
| 355 | If state == BP_UNDEFINED Then | 
| 366 | type = BP_BREAKPOINT | 
| 369 | Return 0 | 
| Name | Describe | 
|---|---|
| gdb_cmd_break | Handle the 'z' or 'Z' breakpoint remove or set packets | 
| _kdb_bp_install | 
| 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  |