~aleteoryx/muditaos

ref: 659d72027449eda18f654136959e9b3d9fb6c766 muditaos/.gdbinit-1051 -rw-r--r-- 304 bytes
659d7202 — Maciej Gibowicz [EGD-7939] Fix wrong battery status after restarting the phone 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
source .gdb_macros

set pagination off
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