mirror of
https://github.com/mudita/MuditaOS.git
synced 2025-12-23 22:17:57 -05:00
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.
22 lines
406 B
Plaintext
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
|