aboutsummaryrefslogtreecommitdiff
path: root/center_fw/.gdbinit
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-10-02 01:23:31 +0200
committerjaseg <git@jaseg.de>2023-10-02 01:23:31 +0200
commitc8623eb4c6c1464ffd49e83126e66d71ba5bf862 (patch)
tree55151e10f1ca05f2539de59778e757819038678e /center_fw/.gdbinit
parent67e30fa91e12b452c1a18f6c5eb8a33cdb9ec625 (diff)
download8seg-c8623eb4c6c1464ffd49e83126e66d71ba5bf862.tar.gz
8seg-c8623eb4c6c1464ffd49e83126e66d71ba5bf862.tar.bz2
8seg-c8623eb4c6c1464ffd49e83126e66d71ba5bf862.zip
8b10b issues
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