Re: [PATCH 1/23] Make register values available to panic notifiers

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Russell King
Date: Monday, April 12, 2010 - 5:27 am

On Sun, Apr 11, 2010 at 11:06:09PM -0700, David VomLehn wrote:

Can you explain why you want this?

I'm wondering about the value of saving the registers; normally when a panic
occurs, it's because of a well defined reason, and not because something
went wrong in some CPU register; to put it another way, a panic() is a
more controlled exception than a BUG() or a bad pointer dereference.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/23] Make register values available to panic n ..., Russell King, (Mon Apr 12, 5:27 am)
Re: [PATCH 1/23] Make register values available to panic n ..., Martin Schwidefsky, (Mon Apr 12, 6:35 am)