kdb
[Top] [All Lists]

Re: kdb on SMP

To: Hua Qin <qinhua@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: kdb on SMP
From: Keith Owens <kaos@xxxxxxx>
Date: Sun, 23 Mar 2003 02:30:22 +1100
Cc: kdb@xxxxxxxxxxx
In-reply-to: Your message of "Sat, 22 Mar 2003 09:25:43 CDT." <Pine.GSO.4.10.10303220918200.18950-100000@poisson.ecse.rpi.edu>
Sender: kdb-bounce@xxxxxxxxxxx
On Sat, 22 Mar 2003 09:25:43 -0500 (EST), 
Hua Qin <qinhua@xxxxxxxxxxxxxxxxxxxxx> wrote:
>So "bpa" will have the same problem? 

bp and bpa are the same for software breakpoints.

>How about "bph" and "bpha", since they are
>using Pentium debug registers other that int3 mechanism, they don't have
>these problem.

bpha installs the hardware breakpoint on all cpus, bph only installs on
one cpu but is not much use when you do not know which cpu you will be
executing on.

The current kdb code for handling two cpus dropping into kdb at the
same time has races.  Sonic Zhang mailed some test patches recently,
see ftp://oss.sgi.com//projects/kdb/download/v4.0/kdb-smphdr*.  I have
not had time to try them yet.


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