コード例 #1
0
ファイル: mn10300_stub.c プロジェクト: KarenHung/ecosgit
void __install_breakpoints (void)
{
    /* NOP since single-step HW exceptions are used instead of
       breakpoints. */

  /* Install the breakpoints in the breakpoint list */
  __install_breakpoint_list();
}
コード例 #2
0
ファイル: fr30_stub.c プロジェクト: KarenHung/ecosgit
void __install_breakpoints ()
{
  /*  if (instrBuffer.targetAddr != NULL)
    {
      instrBuffer.savedInstr = *instrBuffer.targetAddr;
      *instrBuffer.targetAddr = __break_opcode ();
      } */

  /* Install the breakpoints in the breakpoint list */
  __install_breakpoint_list();

  // No need to flush caches here; Generic stub code will handle this.
}
コード例 #3
0
ファイル: nios2-stub.c プロジェクト: joeynelson/nios2ecos
void __install_breakpoints ()
{
    if (instrBuffer.targetAddr != NULL)
    {
        instrBuffer.savedInstr = *instrBuffer.targetAddr;
        *instrBuffer.targetAddr = __break_opcode ();
    }

    // Ensure that any instructions that are about to be modified aren't in
    // the instruction cache.

    HAL_ICACHE_SYNC();

    // Install the breakpoints in the breakpoint list

    __install_breakpoint_list();

    // Make sure the breakpoints have been written out to memory.

    HAL_DCACHE_SYNC();
}