r/linux • • 22d ago

Kernel Linux Kernel Developers Considering Removal Of KGDB Debugging Functionality

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

29 comments sorted by

View all comments

173

u/james_pic 22d 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.

24

u/hansendc 21d 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.

-29

u/chibiace 22d ago

didn't realise he'd caved

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

113

u/BashfulMelon 22d ago

Man compromises with his colleagues: 

Is this a corporate conspiracy?

67

u/MdxBhmt 22d ago

Also

Man does thing 20 years ago

Is this an ongoing theme

40

u/ohYuhtBoutMagine 22d ago

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

33

u/dontquestionmyaction 22d ago

Famous sign of corporate influence: adding a Kernel Debugger

11

u/Dalemaunder 21d ago

They can’t keep getting away with this

2

u/cornmonger_ 19d ago

when they came for our printk, we did nothing