Idea: allow reading ELF coredumps

Teo Camarasu
2024-05-24T11:25:41Z

It would be neat if ghc-debug could read elf coredumps.

The architecture of ghc-debug makes this quite doable, since the interface with the stub is nicely encapsulated.

The tricky bit to implementing this would be figuring out where certain symbols lived in the dump, eg, to find the list of blocks.
Perhaps some of this could be done by interfacing with GDB somehow.