PERFORCE change 141000 for review
John Baldwin
jhb at freebsd.org
Thu May 1 18:52:38 UTC 2008
On Thursday 01 May 2008 02:28:14 pm Peter Wemm wrote:
> http://perforce.freebsd.org/chv.cgi?CH=141000
>
> Change 141000 by peter at peter_overcee on 2008/05/01 18:27:44
>
> kdb_ddbe panic command is another y! thing. skip for now.
It's only for this though. Basically lets the debugger backend map the panic
request to whatever it wants.
> Affected files ...
>
> .. //depot/projects/hammer/sys/kern/subr_kdb.c#23 edit
>
> Differences ...
>
> ==== //depot/projects/hammer/sys/kern/subr_kdb.c#23 (text+ko) ====
>
> @@ -225,13 +225,11 @@
> kdb_panic(const char *msg)
> {
>
> - if (kdb_dbbe != NULL && kdb_dbbe->dbbe_panic != NULL) {
> #ifdef SMP
> - stop_cpus(PCPU_GET(other_cpus));
> + stop_cpus(PCPU_GET(other_cpus));
> #endif
> - printf("KDB: panic\n");
> - kdb_dbbe->dbbe_panic(msg);
> - }
> + printf("KDB: panic\n");
> + panic(msg);
> }
>
> void
>
--
John Baldwin
More information about the p4-projects
mailing list