This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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
> 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]