Add support for target switches in simulator
Richard Earnshaw
rearnsha@arm.com
Thu May 16 09:25:00 GMT 2002
nickc@cambridge.redhat.com said:
>
> I would like permission to apply the following patch. It adds the
> ability for simulator backends to parse their own command line
> switches, thus creating target specific simulator options.
>
> I would like this facility in order to be able to add a new switch
> to the ARM simulator - a switch to select which set(s) of SWI
> emulations it should perform.
>
> I have not worked out how this feature would be accessed from GDB.
> My guess is that the switches could be added to the arguments passed
> via sim_open(), but how would a GDB user tell GDB to add these
> switches ?
Hmm, I thought there was already a way to tell the simulator what amount
of memory to use. Couldn't a similar method be employed.
R.
PS. I haven't looked at how that was done, but I recall a discussion
about this recently on the mailing list related to increasing the amount
of memory for a Java testsuite run.
More information about the Gdb-patches
mailing list