Function report |
Source Code:kernel\debug\kdb\kdb_main.c |
Create Date:2022-07-28 11:41:52 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kdb_go - This function implements the 'go' command.* go [address-expression]
Proto:static int kdb_go(int argc, const char **argv)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | argc | |
| const char ** | argv |
| 1801 | kdb_printf("go must execute on the entry cpu, please use \"cpu %d\" and then execute go\n", cpu number that owns kdb ) |
| 1804 | Return KDB_BADCPUNUM |
| 1806 | If argc == 1 Then |
| 1807 | nextarg = 1 |
| 1812 | Else if argc Then |
| 1813 | Return KDB_ARGCOUNT |
| 1817 | If KDB_FLAG(CATASTROPHIC) Then |
| 1818 | kdb_printf("Catastrophic error detected\n") |
| 1819 | kdb_printf("kdb_continue_catastrophic=%d, ", kdb_continue_catastrophic) |
| 1821 | If kdb_continue_catastrophic == 0 && kdb_go_count++ == 0 Then |
| 1822 | kdb_printf("type go a second time if you really want to continue\n") |
| 1824 | Return 0 |
| 1826 | If kdb_continue_catastrophic == 2 Then |
| 1827 | kdb_printf("forcing reboot\n") |
| 1830 | kdb_printf("attempting to continue\n") |
| 1832 | Return diag |
| 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 |