kdb
[Top] [All Lists]

Re: bph / bpha not working.

To: Avi Nehori <anehori@xxxxxxxxxxxxxx>
Subject: Re: bph / bpha not working.
From: Scott Lurndal <scott.lurndal@xxxxxxxxxxxxxxxx>
Date: Wed, 7 May 2008 09:11:45 -0700
Cc: jidong xiao <jidong.xiao@xxxxxxxxx>, Jay Lan <jlan@xxxxxxx>, kdb@xxxxxxxxxxx
In-reply-to: <48215537.3040901@xxxxxxxxxxxxxx>
References: <481EDC13.1040504@xxxxxxxxxxxxxx> <4820B9EA.3060002@xxxxxxx> <48214F33.1000006@xxxxxxxxxxxxxx> <4104961b0805070000l2ca0559du647090584011511e@xxxxxxxxxxxxxx> <48215537.3040901@xxxxxxxxxxxxxx>
Sender: kdb-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.2i
On Wed, May 07, 2008 at 10:07:35AM +0300, Avi Nehori wrote:
> I'm using 2.4.21 kernel (and also tried 2.6.18 with the same behavior).
> the memory address is being written through a kernel module .
> please see below :
> 
> [0]kdb> md 0xa0f7bc94
> 0xa0f7bc94 00000000 00000001 00000003 00000000   ................
> [0]kdb> bpha 0xa0f7bc94 dataw 4
> [0]kdb> go
> 
> 
> the breakpoint is not called even though the memory address being changed:
> [0]kdb> md 0xa0f7bc94
> 0xa0f7bc94 00000064 00000001 00000003 00000000   d...............
> 

What does the 'bl' command show?   It should show the debug register that
the breakpoint was assigned to.   You'll want to check it on all processors
if you have a SMP machine.

Please also use the 'rd d' command to display the contents of the debug
registers on all processors.

scott

---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
<Prev in Thread] Current Thread [Next in Thread>