aboutsummaryrefslogtreecommitdiff
path: root/center_fw/.gdbinit
diff options
context:
space:
mode:
Diffstat (limited to 'center_fw/.gdbinit')
-rw-r--r--center_fw/.gdbinit10
1 files changed, 10 insertions, 0 deletions
diff --git a/center_fw/.gdbinit b/center_fw/.gdbinit
index 2617c8f..d64d48e 100644
--- a/center_fw/.gdbinit
+++ b/center_fw/.gdbinit
@@ -18,3 +18,13 @@ end
source ~/ref/PyCortexMDebug/cmdebug/svd_gdb.py
svd_load ~/ref/stm32square/svd/STM32G030.svd
+define jdump
+ break gdb_dump
+ command $bpnum
+ dump binary value /tmp/dump_adc.bin adc_dump
+ dump binary value /tmp/dump_sym.bin sym_dump
+ dump binary value /tmp/dump_bit.bin bit_dump
+ dump binary value /tmp/dump_bit_idx.bin bit_dump_pos
+ continue
+ end
+end