crystal
crystal copied to clipboard
Basic GDB formatter support
This PR adds String and Array formatters for GDB, allowing it to be used as an alternative to LLDB. The formatters can be imported into a GDB session by source etc/gdb/crystal_formatters.py.
The spec driver has been almost completely rewritten to support testing multiple debuggers from a single spec file. Those specs are meant to support the Crystal interpreter eventually.
Great work! But can this be leveraged in normal crystal programs or just the compiler? If so, do we have this documented anywhere?