This is the mail archive of the gdb-patches@sources.redhat.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]
Other format: [Raw text]

Re: ARM SIM - add support to select SWI emulations to support.


+ 
+ 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.


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