kdb
[Top] [All Lists]

Re: I fix a bug in kdb-v3.0-2.4.20, which cause the hardware brea kpoi n

To: "Zhang, Sonic" <sonic.zhang@xxxxxxxxx>
Subject: Re: I fix a bug in kdb-v3.0-2.4.20, which cause the hardware brea kpoi nts fail to work.
From: Keith Owens <kaos@xxxxxxx>
Date: Thu, 13 Feb 2003 13:19:30 +1100
Cc: "KDB (E-mail)" <kdb@xxxxxxxxxxx>
In-reply-to: Your message of "Thu, 13 Feb 2003 09:55:45 +0800." <957BD1C2BF3CD411B6C500A0C944CA2602FB0306@xxxxxxxxxxxxxxxxxxxxx>
Sender: kdb-bounce@xxxxxxxxxxx
On Thu, 13 Feb 2003 09:55:45 +0800, 
"Zhang, Sonic" <sonic.zhang@xxxxxxxxx> 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.


<Prev in Thread] Current Thread [Next in Thread>