Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Mar 2001 10:49:17 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Peter.Blok@inter.NL.net
Cc:        freebsd-stable@freebsd.org
Subject:   Re: DDB watch
Message-ID:  <20010307104917.O92844@wantadilla.lemis.com>
In-Reply-To: <200102282359.AAA10244@altrade.nijmegen.inter.nl.net>; from Peter.Blok@inter.NL.net on Wed, Feb 28, 2001 at 11:59:46PM %2B0000
References:  <200102282359.AAA10244@altrade.nijmegen.inter.nl.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, 28 February 2001 at 23:59:46 +0000, Peter.Blok@inter.NL.net wrote:
>> On Sunday, 25 February 2001 at 22:52:11 +0100, Peter Blok wrote:
>>> Hi,
>>>
>>> I was trying to setup a "watch" in DDB. When it hits it, the kernel
>>> reboots.  Am I doing something wrong or isn't it working. I start up
>>> with boot -d set a breakpoint somewhere, hits breakpoint and set
>>> watchpoint. After the continue it crashes, without a backtrace. Just
>>> a black screen and reboot.
>>
>> There are places where you can't set a breakpoint.  An obvious place
>> is in the ddb code: if you hit a breakpoint there, you're going to
>> recurse to the top of the stack and crash.  There are other less
>> obvious places, and I suspect that's what you have hit.
>
> The location was ok. I suddenly realize it was on a dual cpu
> system. Could SMP break the watch behavior?

It shouldn't do.

Greg
--
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010307104917.O92844>