Make kernel drop into debugger

jd1008 jd1008 at gmail.com
Wed Jul 8 02:24:01 UTC 2015



On 07/07/2015 08:05 PM, Chris Murphy wrote:
> On Tue, Jul 7, 2015 at 7:49 PM, jd1008 <jd1008 at 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?





More information about the users mailing list