|
Message
From: Scott Furman<sfurman@r...>
Date: Tue Jan 27 22:11:21 CET 2004
Subject: [openrisc] eCos crash when not optimizing
Robert Cragie wrote:>Aha - I think I now know why I didn't see this. I have been disabling >CYGDBG_HAL_COMMON_INTERRUPTS_SAVE_MINIMUM_CONTEXT in eCos configuration. > > I don't think the setting of CYGDBG_HAL_COMMON_INTERRUPTS_SAVE_MINIMUM_CONTEXT could hide this bug completely, because the dispatch to the interrupt service routine [which follows the corruption of r4 by cyg_instrument()] would be adversely affected regardless of the setting of that macro.
More likely is that you don't have kernel instrumentation turned on, so the call to cyg_instrument() is never made. It's used for performance tuning, so I'm guessing that most developers rarely turn it on.
-Scott
|