file main.elf
target remote localhost:3333
monitor reset
load
b main
b HardFault_Handler
c

p &buf
display/s $1
display/4bt 0x40013800
b _read
c
