LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Openrisc > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: Scott Furman<sfurman@r...>
    Date: Tue Jan 27 22:11:21 CET 2004
    Subject: [openrisc] eCos crash when not optimizing
    Top
    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


    ReferenceAuthor
    [openrisc] eCos crash when not optimizingRobert Cragie

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.