1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
run set logging overwrite on set logging file gdb.bt set logging on set pagination off echo backtrace bt bt full gcore info registers set logging off quit