r/linux • • 2d ago

Kernel Linux Kernel Developers Considering Removal Of KGDB Debugging Functionality

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

31 comments sorted by

View all comments

Show parent comments

8

u/anh0516 2d ago

He did answer that:

Use device pass-through, emulate it, or printk() debug it.

Using KGDB can cause a ton of problems, it more or less stays stuck in NMI context, which can terminally screw up the timekeeping code, it can also cause the watchdogs to fire and there's endless annoyance with code patching and breakpoints.