(gdb) hbreak z_prep_c
Hardware assisted breakpoint 6 at 0x8001a7c0: file /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/arch/arm/core/cortex_m/prep_c.c, line 202.
(gdb) hbreak relocate_vector_table
Hardware assisted breakpoint 7 at 0x8001a78c: file /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/arch/arm/core/cortex_m/prep_c.c, line 62.
(gdb) hbreak z_bss_zero
Hardware assisted breakpoint 8 at 0x8004dd80: file /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/init.c, line 225.
(gdb) info break
Num Type Disp Enb Address What
4 hw breakpoint keep y 0x8001a5c8 /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/arch/arm/core/cortex_m/reset.S:121
breakpoint already hit 2 times
5 hw breakpoint keep y 0x80047100 in SystemInitHook
at /home/vovan/ZEPHYR_RTOS/zephyrproject/modules/hal/nxp/mcux/mcux-sdk-ng/devices/RT/RT1020/MIMXRT1024/system_MIMXRT1024.c:257
breakpoint already hit 1 time
6 hw breakpoint keep y 0x8001a7c0 in z_prep_c at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/arch/arm/core/cortex_m/prep_c.c:202
7 hw breakpoint keep y 0x8001a78c in relocate_vector_table at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/arch/arm/core/cortex_m/prep_c.c:62
8 hw breakpoint keep y 0x8004dd80 in z_bss_zero at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/init.c:225
(gdb) hbreak z_cstart
Hardware assisted breakpoint 9 at 0x8004de4c: file /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/init.c, line 777.
(gdb) monitor reset halt
Resetting target with halt
Successfully halted device on reset
(gdb) c
Continuing.
Breakpoint 4, z_arm_reset () at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/arch/arm/core/cortex_m/reset.S:121
121 ldr r0, =z_main_stack + CONFIG_MAIN_STACK_SIZE
(gdb) c
Continuing.
Breakpoint 5, SystemInitHook () at /home/vovan/ZEPHYR_RTOS/zephyrproject/modules/hal/nxp/mcux/mcux-sdk-ng/devices/RT/RT1020/MIMXRT1024/system_MIMXRT1024.c:257
257 }
(gdb) c
Continuing.
Breakpoint 6, z_prep_c () at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/arch/arm/core/cortex_m/prep_c.c:202
202 relocate_vector_table();
(gdb) c
Continuing.
Breakpoint 7, relocate_vector_table () at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/arch/arm/core/cortex_m/prep_c.c:62
62 z_early_memcpy(_sram_vector_start, _vector_start, vector_size);
(gdb) c
Continuing.
Breakpoint 8, z_bss_zero () at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/init.c:225
225 z_early_memset(__bss_start, 0, __bss_end - __bss_start);
(gdb) c
Continuing.
Breakpoint 9, z_cstart () at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/init.c:777
777 z_sys_init_run_level(INIT_LEVEL_EARLY);
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
z_arm_usage_fault () at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/arch/arm/core/cortex_m/fault_s.S:80
80 mrs r0, MSP