NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RE: kern/42992: KGDB does not work once interrupts are enabled



The following reply was made to PR kern/42992; it has been noted by GNATS.

From: "Paul Koning" <Paul_Koning%Dell.com@localhost>
To: "matthew green" <mrg%eterna.com.au@localhost>,
        <gnats-bugs%NetBSD.org@localhost>
Cc: <kern-bug-people%netbsd.org@localhost>,
        <gnats-admin%netbsd.org@localhost>,
        <netbsd-bugs%netbsd.org@localhost>
Subject: RE: kern/42992: KGDB does not work once interrupts are enabled
Date: Thu, 18 Mar 2010 14:57:26 -0400

 It looks like DDB doesn't handle multiple CPUs.  More precisely, it
 displays the CPU number in its prompt, but I don't see any code to stop
 other CPUs.
 
        paul
 
 > -----Original Message-----
 > From: netbsd-bugs-owner%NetBSD.org@localhost [mailto:netbsd-bugs-
 > owner%NetBSD.org@localhost] On Behalf Of matthew green
 > Sent: Wednesday, March 17, 2010 7:35 PM
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc: kern-bug-people%netbsd.org@localhost; gnats-admin%netbsd.org@localhost; 
 > netbsd-
 > bugs%netbsd.org@localhost
 > Subject: re: kern/42992: KGDB does not work once interrupts are
 enabled
 >=20
 >=20
 > kgdb entry should be changed to do this, it sounds like:
 >=20
 >      - tell all other cpus to pause
 >      - go splhigh
 >      - call into the normal loop.
 >=20
 > i would look at how DDB handles multiple CPUs.
 >=20
 >=20
 > .mrg.
 


Home | Main Index | Thread Index | Old Index