Nice, I really like that it describes the DWARF format instead of just handwaving around it. I've been considering adding DWARF support to my compiler so that I can use mainstream debuggers with it and this article has just destroyed my last excuse to procrastinate. I must admit, the title got me very excited (it's still a cool article regardless) - something I've always wanted is a system-wide debugger for Linux. So…
Writing a Linux Debugger (2017)
11–14 of 14 posts
Re: Writing a Linux Debugger (2017)
#12Nice, I really like that it describes the DWARF format instead of just handwaving around it. I've been considering adding DWARF support to my compiler so that I can use mainstream debuggers with it and this article has just destroyed my last excuse to procrastinate. I must admit, the title got me very excited (it's still a cool article regardless) - something I've always wanted is a system-wide debugger for Linux. So…
Edit: actually SystemTap mentioned in a sibling comment sounds simpler if you just need instrumentation.
Re: Writing a Linux Debugger (2017)
#13Even with UML it sounds arduous
Re: Writing a Linux Debugger (2017)
#14Nice, I really like that it describes the DWARF format instead of just handwaving around it. I've been considering adding DWARF support to my compiler so that I can use mainstream debuggers with it and this article has just destroyed my last excuse to procrastinate. I must admit, the title got me very excited (it's still a cool article regardless) - something I've always wanted is a system-wide debugger for Linux. So…
SystemTap or ebpf might be the way to go for visibility at that level. Not quite a debugger, but they can be very helpful.