CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/Tools/debug/gdb-black-magic.init
Views: 1798
1
# copy the file to .gdbinit in your Firmware tree, and adjust the path
2
# below to match your system
3
4
# using ttyBmpGdb is appropriate if you have setup udev to
5
# automatically create a link when a black magic probe is
6
# inserted. See 99-blackmagic.rules in this directory
7
target extended /dev/ttyBmpGdb
8
monitor swdp_scan
9
attach 1
10
11
#monitor vector_catch disable hard
12
set mem inaccessible-by-default off
13
set print pretty
14
15
b AP_HAL::panic
16
b HardFault_Handler
17
b chSysHalt
18
set confirm off
19
20