I fix a bug in kdb-v3.0-2.4.20, which cause the hardware brea kpoi nts fail to work.
Keith Owens
kaos at sgi.com
Wed Feb 12 18:19:30 PST 2003
On Thu, 13 Feb 2003 09:55:45 +0800,
"Zhang, Sonic" <sonic.zhang at intel.com> wrote:
> I don't think the user can't do any debugging on kernels with KDB
>compiled in, because the user can disable KDB by echo "0" to
>"/proc/sys/kernel/kdb". The user can switch between KDB and GDB by a command
>line. The only problem is that KDB can't work with GDB simultaneously. Does
>any user really want to debug his code with KDB and GDB at one time?
You are forgetting that people want kdb always on to get debugging
information when the machine gets an error like BUG(), panic() or oops.
Manually turning kdb on/off is only useful when you can reproduce a
problem, it is no good for catching intermittent errors.
More information about the kdb
mailing list