2016-11-23 20:31:53 -05:00
|
|
|
tar ext :2331
|
|
|
|
monitor reset
|
|
|
|
set width 0
|
|
|
|
set height 0
|
|
|
|
set verbose off
|
|
|
|
set logging file mylog.txt
|
|
|
|
set logging overwrite on
|
|
|
|
set logging redirect on
|
|
|
|
set logging on
|
|
|
|
set remote hardware-breakpoint-limit 4
|
|
|
|
|
|
|
|
# gc log
|
2020-02-11 20:05:43 -05:00
|
|
|
break gc.c:106
|
2016-11-23 20:31:53 -05:00
|
|
|
commands
|
|
|
|
p/x start_block
|
|
|
|
p/x length
|
2020-02-11 20:05:43 -05:00
|
|
|
p/x ticks_ms
|
|
|
|
# backtrace output redirect is currently broken in gdb so we use up instead.
|
|
|
|
# https://sourceware.org/bugzilla/show_bug.cgi?id=23439
|
|
|
|
# backtrace
|
|
|
|
up
|
|
|
|
up
|
|
|
|
up
|
|
|
|
up
|
|
|
|
# append binary memory ram.bin &_srelocate &_estack
|
2016-11-23 20:31:53 -05:00
|
|
|
continue
|
|
|
|
end
|
|
|
|
|
2020-02-11 20:05:43 -05:00
|
|
|
break main.c:251
|
2016-11-23 20:31:53 -05:00
|
|
|
|
|
|
|
continue
|
|
|
|
|
|
|
|
delete
|
|
|
|
|
|
|
|
disconnect
|
|
|
|
quit
|