* sim-base.h (sim_cpu_base): New members name, options.
authorDoug Evans <dje@google.com>
Fri, 27 Feb 1998 18:39:22 +0000 (18:39 +0000)
committerDoug Evans <dje@google.com>
Fri, 27 Feb 1998 18:39:22 +0000 (18:39 +0000)
commit966df5804d7586c1a30853ffb4aa0663c942c337
tree3451ce3db2f4deec7d55670a701f507c024b6d72
parent2e7236783eccbd1d0bed7f49aac81e447be5e314
* sim-base.h (sim_cpu_base): New members name, options.
(sim_cpu_lookup): Add prototype.
* sim-module.c (sim_pre_argv_init): Provide default names for cpus.
* sim-options.h (DECLARE_OPTION_HANDLER): New argument `cpu'.
(sim_add_option_table): Update prototype.
* sim-options.c (sim_add_option_table): New argument `cpu'.
(standard_option_handler,standard_install): Update.
(sim_parse_args): Handle cpu specific options.
(print_help): New static function.
(sim_print_help): Call it.  Print cpu specific options.
(find_match): New static function.
(sim_args_command): Call it.  Handle cpu specific options.
* sim-utils.c (sim_cpu_lookup): New function.
* sim-memopt.c (memory_option_handler): Update.
(sim_memopt_install): Update.
* sim-model.c (model_option_handler): Update.
(model_install): Update.
* sim-profile.c (profile_option_handler): Update.
(profile_install): Update.
* sim-trace.c (trace_option_handler): Update.
(trace_install): Update.
* sim-watch.c (watchpoint_option_handler): Update.
(sim_watchpoint_install): Update.
* cgen-scache.c (scache_option_handler): Update.
(scache_install): Update.
sim/common/ChangeLog
sim/common/sim-base.h
sim/common/sim-memopt.c
sim/common/sim-module.c
sim/common/sim-options.c
sim/common/sim-profile.c
sim/common/sim-utils.c