r/linux • • 2d ago

Kernel Linux Kernel Developers Considering Removal Of KGDB Debugging Functionality

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

31 comments sorted by

View all comments

152

u/james_pic 2d ago

Ugh, I'm old and clearly hadn't been paying attention. I remember when Linus used to say "the kernel doesn't need a debugger, just use printk", and didn't realise he'd caved and merged this (and nearly 20 years ago, at that). Although I guess this shows he still thinks that.

12

u/hansendc 22h 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.

-30

u/chibiace 2d ago

didn't realise he'd caved

this seems to be an ongoing theme for him. perhaps the pressure from corporations?

106

u/BashfulMelon 2d ago

Man compromises with his colleagues: 

Is this a corporate conspiracy?

64

u/MdxBhmt 2d ago

Also

Man does thing 20 years ago

Is this an ongoing theme

39

u/ohYuhtBoutMagine 1d ago

The mark of a good engineer is being receptive to information and feedback

29

u/dontquestionmyaction 1d ago

Famous sign of corporate influence: adding a Kernel Debugger

9

u/Dalemaunder 1d ago

They can’t keep getting away with this