I’m trying to implement freestanding dwarf debugging in zig 0.13 and the example used is based on zig 0.4 is there any documentation as to what happened to this function or should I just reimplement it from scratch?
Initial commit is: std.debug.printSourceAtAddressDwarf
Then: refactor std/debug.zig DwarfInfo operations to be methods:
The only public API change is
std.debug.printSourceAtAddressDwarf
→std.debug.DwarfInfo.printSourceAtAddress
Finally the std.debug.DwarfInfo code moved into: std.dwarf.DwarfInfo
while printSourceAtAddress remains in std.debug.printSourceAtAddress
Thanks for the reply @dimdin, new issue is that Dwarf info needs to be converted into a debug info struct, any ideas on how to do that?