From: Keir Fraser Subject: Re: Re: [Xen-changelog] [xen-unstable] [XEN] BUG() places console in sync mode. Date: Tue, 4 Jul 2006 19:16:11 +0100 Message-ID: <164ac52d8b3ed78bd36661f6d3f63b06@cl.cam.ac.uk> References: <6439B35F-3C48-4027-B0B8-2F6D2C2FCA22@watson.ibm.com> <643386083a641c77eec58bc2021a2d37@cl.cam.ac.uk> <2AFD070A-6EED-45AB-8149-9F4C0FFAB3BC@watson.ibm.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <2AFD070A-6EED-45AB-8149-9F4C0FFAB3BC@watson.ibm.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: Jimi Xenidis Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 4 Jul 2006, at 18:01, Jimi Xenidis wrote: > Panic is very serious, but BUG and ASSERT, to me, are used to indicate > some error in programming logic, if that error can be "fixed" during a > debugging session then the ability to continue is quite valuable, > especially if it takes a long time ot get to the BUG(). I really can't conceive a situation where it would be handy to be able to rectify a bug from within a debugger in order to carry on executing. I've never wanted to do that. > if it is not BUG, then perhaps we can introduce something like > BREAKPOINT() that can be used for this purpose? Sure. -- Keir