Dave Plater wrote:
Jeff Mahoney wrote:
Dave Plater wrote:
Hi everyone, I've been searching for an easy way of debugging the kernel and all I can find is kdb which doesn't seem to have a suse version anyway. There must be a simpler way of debugging the kernel in realtime. I'm specifically looking for break on exception or better still trigger a backtrace.
I'm not sure what you mean here. When KDB is enabled, it's built into the kernel. There's no supporting userspace. We only enable it in the -debug flavor of the kernel, but I'm looking into why we don't build it into all flavors and only enable it by default on the -debug flavor. KDB will be invoked on panic, or when you hit the pause button on the keyboard or control-a on a serial console.
-Jeff
Hi Jeff thanks for the reply. I discovered the kdb enable at the bottom of kernel hacking but I haven't found much useful info on using it. Can you set a tracepoint, for instance, on a machine exception?
Why don't you ask on a developer list where the people who are extremely familiar with these things will be the ones reading your question and writing answers. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org