mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
These are some changes I made to debug tooling while tracking down the bugfix in the previous commit. Each `scripts/debug_*_alloc.gdb` script has gdb output a `*_allocs.txt` file, which in turn can be parsed by the `scripts/parse_*_allocs.py` script to find errors.
19 lines
302 B
Plaintext
19 lines
302 B
Plaintext
das -enabled off
|
|
break frame_allocator.cpp:62
|
|
commands
|
|
silent
|
|
printf "+ %016lx %3d\n", *address, n
|
|
continue
|
|
end
|
|
break frame_allocator.cpp:95
|
|
commands
|
|
silent
|
|
printf "- %016lx %3d\n", address, count
|
|
continue
|
|
end
|
|
|
|
set logging file frame_allocs.txt
|
|
set logging overwrite on
|
|
set logging enabled on
|
|
continue
|