step 1. execute the script enter_kgdb_mode.sh in one terminal step 2. source the cmd file env_debug_kernel.cmd in gdb to set the property enviroment