* sim-base.h (sim_state_base): New member environment.
authorDoug Evans <dje@google.com>
Mon, 9 Mar 1998 21:04:28 +0000 (21:04 +0000)
committerDoug Evans <dje@google.com>
Mon, 9 Mar 1998 21:04:28 +0000 (21:04 +0000)
commitbda9d8a33cbc104c9c5a866833d15ef5cd3c8d9b
treecda23f69adfb460e8cf99f5cdfc950be5a5ce795
parent46bb89f0d2af0b832c8874e1ea9bc94eaaf8d95f
* sim-base.h (sim_state_base): New member environment.
(STATE_ENVIRONMENT): New macro.
* sim-config.c (current_environment): Delete.
(sim_config_default): New function.
(sim_config): Set STATE_ENVIRONMENT, not current_environment.
* sim-config.h (current_environment,CURRENT_ENVIRONMENT): Delete.
(sim_config_default): Add prototype.
* sim-module.c (sim_pre_argv_init): Call sim_config_default.
* sim-options.c (standard_option_handler, case OPTION_ENVIRONMENT):
Set STATE_ENVIRONMENT, not current_environment.
sim/common/ChangeLog
sim/common/sim-base.h