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



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
> 
> 
> kgdb entry should be changed to do this, it sounds like:
> 
>       - tell all other cpus to pause
>       - go splhigh
>       - call into the normal loop.
> 
> i would look at how DDB handles multiple CPUs.
> 
> 
> .mrg.


Home | Main Index | Thread Index | Old Index