summaryrefslogtreecommitdiff
path: root/tools/output_gc_until_repl.txt
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-02-11 17:05:43 -0800
committerScott Shawcroft <scott@tannewt.org>2020-02-11 17:05:43 -0800
commita4d197a6efeb8af9fc59be95689b2c703c5f9cdb (patch)
tree936844a5fadbe923c6bf91ec5d1546a9e1776cb3 /tools/output_gc_until_repl.txt
parent8364c60eb28fa9afffb2a2fac96bd71a18faa6de (diff)
Update gc tracking instructions and gdb commands.
Diffstat (limited to 'tools/output_gc_until_repl.txt')
-rw-r--r--tools/output_gc_until_repl.txt15
1 files changed, 11 insertions, 4 deletions
diff --git a/tools/output_gc_until_repl.txt b/tools/output_gc_until_repl.txt
index 81711deeb..1c124de80 100644
--- a/tools/output_gc_until_repl.txt
+++ b/tools/output_gc_until_repl.txt
@@ -10,16 +10,23 @@ set logging on
set remote hardware-breakpoint-limit 4
# gc log
-break gc.c:103
+break gc.c:106
commands
-backtrace
p/x start_block
p/x length
-append binary memory ram.bin &_srelocate &_estack
+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
continue
end
-break main.c:179
+break main.c:251
continue