Files
MuditaOS/.gdbinit-1051
Adam Dobrowolski 30487c6008 [MOS-110] Statistics api for system
Gets data from freertos and prints on frequency change depending
if it's important. Gathering is not costly, printing is though.
For less intrusive checks I would rather disable names gathering
as in worst case scenario it hangs rtos context switching till
thread id is found.
2022-02-17 16:46:56 +01:00

22 lines
406 B
Plaintext

source .gdb_macros
set pagination off
set python print-stack full
target remote localhost:2331
source tools/gdb_crash_extend.py
source tools/misc/puregdb/puregdb.py
monitor reset 0
monitor halt
monitor memU32 0x401BC000 = 128;
load
eval "monitor exec SetRTTAddr %p", &_SEGGER_RTT
info threads
thread 2
tb main
b HardFault_Handler
b _exit
b abort
b WDOG1_IRQHandler
b RTWDOG_IRQHandler
b IntDefaultHandler