diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1996-11-20 09:20:55 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1996-11-20 09:20:55 +0000 |
commit | 58b72d7e20508573cd2499c53e8505e3f64f9e09 (patch) | |
tree | e9a17495599ec3e4905500dfaadf846f325bbd3e /sim/common/tconfig.in | |
parent | e01714ccdabefedf2b6b2524c688d7994ca3f652 (diff) | |
download | gdb-58b72d7e20508573cd2499c53e8505e3f64f9e09.zip gdb-58b72d7e20508573cd2499c53e8505e3f64f9e09.tar.gz gdb-58b72d7e20508573cd2499c53e8505e3f64f9e09.tar.bz2 |
* run.c: #include ../common/config.h, tconfig.h.
(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.
Diffstat (limited to 'sim/common/tconfig.in')
-rw-r--r-- | sim/common/tconfig.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sim/common/tconfig.in b/sim/common/tconfig.in new file mode 100644 index 0000000..d1582e0 --- /dev/null +++ b/sim/common/tconfig.in @@ -0,0 +1,20 @@ +/* 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) */ |