Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Mar 2013 14:02:46 +0100
From:      Christoph Mallon <christoph.mallon@gmx.de>
To:        freebsd-arch@freebsd.org
Cc:        Kirk McKusick <mckusick@mckusick.com>
Subject:   Re: Proposal: Unify printing the function name in panic messages()
Message-ID:  <513349F6.4010309@gmx.de>
In-Reply-To: <51141E33.4080103@gmx.de>
References:  <51141E33.4080103@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

here's an updated patch series, which replaces all panic() calls, except for the places, which have their own stuff, like sys/boot/:
	http://tron.homeunix.org/zeug/FreeBSD/panic/
For now, PANIC() prints the function name.
This is the most common location information used by panic() users.
It can easily be changed in sys/systm.h, where the macro PANIC() is defined.
I added the option PANIC_LOCATION.
I would like to enable it by default, so it has to be deactivated explicitly.
How can this be achieved?
Please test this stuff.

	Christoph



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