How can I generate exceptions for arm-elf-gdb simulator target?

Lim, Sung-taek totohero@poppy.snu.ac.kr
Sat Apr 1 00:00:00 GMT 2000


I added following codes to the first switch statement in function ARMul_OSHandleSWI() at 
gdb-4.18/sim/arm/armos.c

case 0x20: /* any unused SWI number */
        ARMul_ScheduleEvent(state, 0, DoAFIQ);
        return TRUE;

Now you can invoke a FIQ exception using SWI 0x20, I think.

Sung-taek

> "Lim, Sung-taek" wrote:
> > 
> > I want to test my FIQ exception handlers in arm-elf-gdb simulator target.
> > How can I invoke such exceptions?
> 
> Did anyone have an answer to this question?
> 
> Andrew
> 


More information about the Gdb mailing list