This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Add support for RedBoot SWIs to ARM Simulator
nickc wrote:
> [...]
> > We probably should have a way of configuring the simulator at
> > run-time to allow emulation of a set of SWI values. [...]
> > arm-elf-run -emul-swi={redboot|angel|demon|none}
>
> Hmm, well that could be done. Personally I would hold off doing it
> until there is actually a situation where it is needed. [...]
If one ever wants to run an OS on the simulator, then it must be able
to *not* intercept any SWIs, since the OS would itself take care of
the calls. In sid, we have a separate general configuration option
for this kind of thing.
- FChE