This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: How can I generate exceptions for arm-elf-gdb simulator target?
- To: "Andrew Cagney" <ac131313 at cygnus dot com>
- Subject: Re: How can I generate exceptions for arm-elf-gdb simulator target?
- From: "Lim, Sung-taek" <totohero at poppy dot snu dot ac dot kr>
- Date: Wed, 16 Feb 2000 16:56:17 +0900
- Cc: "gdb mailinglist" <gdb at sourceware dot cygnus dot com>
- References: <003801bf6630$d9c9af00$8f742e93@snu.ac.kr> <38AA4995.6FF8DF90@cygnus.com>
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
>