cvs commit: src/sys/ddb db_command.c

Poul-Henning Kamp phk at phk.freebsd.dk
Sun Feb 29 23:17:21 PST 2004


In message <20040301175645.N12828 at gamplex.bde.org>, Bruce Evans writes:
>On Sun, 29 Feb 2004, Nate Lawson wrote:
>
>> On Sun, 29 Feb 2004, Poul-Henning Kamp wrote:
>> >   FreeBSD src repository
>> >
>> >   Modified files:
>> >     sys/ddb              db_command.c
>> >   Log:
>> >   Give DDB a "watchdog" command which disables all watchdogs.
>> >
>> >   Revision  Changes    Path
>> >   1.53      +21 -0     src/sys/ddb/db_command.c
>>
>> Shouldn't that be hooked into the normal debugger enter sequence?

I don't think so.  At least if it should there should be a sysctl
to set the timeout to be used.

>- no ifdefs to make it go away when watchdogs are not configured.

watchdog infrastructure is not optional, it takes only 823 bytes
in LINT, making it optional would be vastly overkill.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the cvs-src mailing list