From a03b948fb5eeddabec78223d6e7613a9db5a748a Mon Sep 17 00:00:00 2001 From: stac Date: Thu, 3 Jun 2010 13:58:16 +0000 Subject: [PATCH] gdb: add gdb init + hooks for AHRS git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@708 ebee16cc-31ac-478f-84a7-5cbb03baadba --- flight/Project/gdb/ahrs | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 flight/Project/gdb/ahrs diff --git a/flight/Project/gdb/ahrs b/flight/Project/gdb/ahrs new file mode 100644 index 000000000..23ff2ff49 --- /dev/null +++ b/flight/Project/gdb/ahrs @@ -0,0 +1,36 @@ +target remote localhost:3333 +monitor reset halt +monitor cortex_m3 vector_catch all +file ./build/ahrs/AHRS.elf + +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 +