From: Keir Fraser Subject: Re: BUG() shortcomings Date: Tue, 07 Nov 2006 10:38:18 +0000 Message-ID: References: <45506AD8.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <45506AD8.76E4.0078.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 7/11/06 10:15, "Jan Beulich" wrote: > Having run into BUG()s a number of times recently, I realized that other than > on Linux under Xen the register state dumped in this case is mostly unrelated > to the actual registers that were in effect when the macro was invoked. This > is rather unfortunate, as without the register state it usually requires being > able to reproduce the problem after having added extra debug code. Would > it therefore be acceptable to make BUG() work more Linux-like? Yes, could be handy. -- Keir