This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: ARM SIM - add support to select SWI emulations to support.
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Nick Clifton <nickc at cambridge dot redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com, Richard dot Earnshaw at arm dot com
- Date: Fri, 17 May 2002 13:38:04 +0100
- Subject: Re: ARM SIM - add support to select SWI emulations to support.
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
+
+ extern unsigned int swi_mask;
+
+ #define SWI_MASK_DEMON (1 << 0)
+ #define SWI_MASK_ANGEL (1 << 1)
+ #define SWI_MASK_REDBOOT (1 << 2)
Why make this a mask? A major part of the problem here is that these SWI
sets may be mutually incompatible. Why not just require the user to
select the right one?
R.