Is there a way to re-config / rebuild the kernel so that it will drop into kdbg on the console?
On Tue, Jul 7, 2015 at 7:49 PM, jd1008 jd1008@gmail.com wrote:
Is there a way to re-config / rebuild the kernel so that it will drop into kdbg on the console?
Kdbg is a GUI wrapper for gdb. So if what you're debugging prevents you from getting to a GUI to run kdbg, I think you're in CLI territory. If you're just wanting more debug information from the kernel itself when running into problems, then you may find the pre-built debug kernels adequate or at least their config file for starters on what's been enabled.
On 07/07/2015 08:05 PM, Chris Murphy wrote:
On Tue, Jul 7, 2015 at 7:49 PM, jd1008 jd1008@gmail.com wrote:
Is there a way to re-config / rebuild the kernel so that it will drop into kdbg on the console?
Kdbg is a GUI wrapper for gdb. So if what you're debugging prevents you from getting to a GUI to run kdbg, I think you're in CLI territory. If you're just wanting more debug information from the kernel itself when running into problems, then you may find the pre-built debug kernels adequate or at least their config file for starters on what's been enabled.
gdb will do.
Prebuilt does not drop the panic'ed kernel into interactive gdb.
Have you done this?