58b72d7e20
(myname): New static global. (main): Recognize new options -a, -c. Also recognize -h if h8/300. Only process -c ifdef SIM_HAVE_SIMCACHE. Only process -p/-s ifdef SIM_HAVE_PROFILE. Parse program name from argv[0] and use in error messages. Pass sim_args to sim_open. Pass prog_args to sim_create_inferior. Add support for incomplete h8/300 termination indicators. (usage): Make more verbose. * aclocal.m4,config.in,tconfig.in,configure.in,configure: New files. * Makefile.in,Make-common.in,callback.c: New files. * nltvals.def,gentmap.c,gentvals.sh: New files.
20 lines
831 B
Text
20 lines
831 B
Text
/* Default target configuration file.
|
|
To override this, create file `tconfig.in' in the simulator's
|
|
source directory. */
|
|
|
|
/* Define this if the simulator supports profiling.
|
|
See the mips simulator for an example.
|
|
This enables the `-p foo' and `-s bar' options.
|
|
The target is required to provide sim_set_profile{,_size}. */
|
|
/* #define SIM_HAVE_PROFILE */
|
|
|
|
/* Define this if the simulator uses an instruction cache.
|
|
See the h8/300 simulator for an example.
|
|
This enables the `-c size' option to set the size of the cache.
|
|
The target is required to provide sim_set_simcache_size. */
|
|
/* #define SIM_HAVE_SIMCACHE */
|
|
|
|
/* C statement to call after argument parsing is done and executable file
|
|
has been opened (with bfd_openr).
|
|
See h8300/tconfig.in for an example. */
|
|
/* #define SIM_PRE_LOAD(EXEC_BFD) */
|