diff --git a/flight/Project/gdb/bl_coptercontrol b/flight/Project/gdb/bl_coptercontrol new file mode 100644 index 000000000..52411d9bd --- /dev/null +++ b/flight/Project/gdb/bl_coptercontrol @@ -0,0 +1,38 @@ +define connect + target remote localhost:3333 + monitor cortex_m3 vector_catch all + file ./build/bl_coptercontrol/CopterControl_BL.elf +end +#monitor reset halt + +define hook-step + monitor cortex_m3 maskisr on +end +define hookpost-step + monitor cortex_m3 maskisr off +end + +define hook-stepi + monitor cortex_m3 maskisr on +end + +define hookpost-stepi + monitor cortex_m3 maskisr off +end + +define hook-next + monitor cortex_m3 maskisr on +end + +define hookpost-next + monitor cortex_m3 maskisr off +end + +define hook-finish + monitor cortex_m3 maskisr on +end + +define hookpost-finish + monitor cortex_m3 maskisr off +end +