raskram

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: SIGTRAP breaks the debug session #6403
    raskram
    Participant

    Something went wrong with the code, I wanted to post.

    Ok, here again:

    in file: swi.h

    #if defined(ARM_RDI_MONITOR) && !defined(__ASSEMBLER__)

     

    static inline int

    do_AngleSWI (int reason, void * arg)

    {

    int value;

    Stop always here   –>> asm volatile (“mov r0, %1; mov r1, %2; ” AngelSWIInsn ” %a3; mov %0, r0″

    : “=r” (value) /* Outputs */

    : “r” (reason), “r” (arg), “I” (AngelSWI) /* Inputs */

    : “r0”, “r1”, “r2”, “r3”, “ip”, “lr”, “memory”, “cc” );

     

    return value;

    }

    #endif

     

    Regards

Viewing 1 post (of 1 total)