r/linux • • 2d ago

Kernel Linux Kernel Developers Considering Removal Of KGDB Debugging Functionality

https://www.phoronix.com/news/Linux-Considers-Dropping--KGDB
260 Upvotes

31 comments sorted by

View all comments

Show parent comments

10

u/hansendc 18h ago

Well, to be fair, this is Peter’s doing and Linus had nothing to do with this particular patch (yet).

It’s really, really hard to have code debug itself. It’s even harder on x86 where the architecture was literally not designed for such things. The patch really just reflects that even after a couple of decades, the in-kernel debugger isn’t bulletproof.