From: "Jan Beulich" Subject: BUG() shortcomings Date: Tue, 07 Nov 2006 10:15:36 +0000 Message-ID: <45506AD8.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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? Thanks, Jan