Mailing List Archive

BUG() shortcomings
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

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: BUG() shortcomings [ In reply to ]
On 7/11/06 10:15, "Jan Beulich" <jbeulich@novell.com> 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



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel