Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 2008 14:51:59 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Peter Wemm <peter@freebsd.org>
Cc:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   Re: PERFORCE change 141000 for review
Message-ID:  <200805011452.00114.jhb@freebsd.org>
In-Reply-To: <200805011828.m41ISEta041132@repoman.freebsd.org>
References:  <200805011828.m41ISEta041132@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 01 May 2008 02:28:14 pm Peter Wemm wrote:
> http://perforce.freebsd.org/chv.cgi?CH=141000
> 
> Change 141000 by peter@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805011452.00114.jhb>