summaryrefslogtreecommitdiff
path: root/sim/common/sim-config.h
Commit message (Collapse)AuthorAgeFilesLines
* * run.1: Document --sysroot=filepath.Hans-Peter Nilsson2004-12-081-1/+4
| | | | | | | | | | | | | * sim-options.c (STANDARD_OPTIONS): New member OPTION_SYSROOT. (standard_options): Support --sysroot=<path>. (standard_option_handler): Handle OPTION_SYSROOT. * syscall.c (simulator_sysroot): Define, initialized empty. (get_path): Prepend simulator_sysroot to absolute file path. [HAVE_STRING_H]: Include string.h. [!HAVE_STRING_H && HAVE_STRINGS_H]: Include strings.h. * nrun.c [HAVE_UNISTD_H]: Include unistd.h. (main): If simulator_sysroot is not empty, chdir there. * sim-config.h (simulator_sysroot): Declare.
* 2002-11-22 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-231-19/+22
| | | | | | | | | | | | | * dv-core.c: Update copyright. sim/common contributed to the FSF. * dv-glue.c, dv-pal.c, hw-base.c, hw-base.h, hw-device.c: Ditto. * hw-device.h, hw-handles.c, hw-handles.h: Ditto. * hw-instances.c, hw-instances.h, hw-properties.c: Ditto. * hw-properties.h, hw-tree.c, hw-tree.h, sim-alu.h: Ditto. * sim-basics.h, sim-bits.c, sim-bits.h, sim-config.c: Ditto. * sim-config.h, sim-core.c, sim-core.h, sim-endian.c: Ditto. * sim-endian.h, sim-events.c, sim-events.h, sim-inline.c: Ditto. * sim-inline.h, sim-io.c, sim-io.h, sim-n-bits.h: Ditto. * sim-n-core.h, sim-n-endian.h, sim-types.h: Ditto.
* Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1999-04-161-0/+594
|
* Initial creation of sourceware repositoryStan Shebs1999-04-161-590/+0
|
* Add config support for the size of the target address and OF cell.Andrew Cagney1998-01-311-9/+18
|
* * Make-common.in (SIM_ENVIRONMENT): New variable.Doug Evans1997-12-041-12/+33
| | | | | | | | | | | | | | | | | | | (CONFIG_CFLAGS): Add it. * aclocal.m4 (SIM_AC_OPTION_ENVIRONMENT): Handle --enable-sim-environment option. * configure: Regenerated. * sim-config.h (environment support): Rewrite. * sim-config.c (current_environment): Define as enum, unconditionally. (current_alignment): Define unconditionally. (config_environment_to_a): Update. (config_alignment_to_a): Fix type of argument. Define unconditionally. (sim_config): Handle environment and alignment determination unconditionally. Delete sanity checks of current_environment, unnecessary. (print_sim_config): Update. * sim-options.c (STANDARD_OPTIONS enum): Add OPTION_ENVIRONMENT. (standard_options): Add --environment. (standard_option_handler): Likewise.
* Add support for --enable-sim-alignment to simulator common aclocal.m4Andrew Cagney1997-09-221-11/+16
| | | | | | Add support for --alignment={strict,nonstrict,forced} to simulator common run-time options. For v850 use, make the default NONSTRICT_ALIGNMENT.
* Add ABFD argument to sim_create_inferior. Document.Andrew Cagney1997-08-271-2/+1
| | | | | | Add file sim-hload.c - generic load for hardware only simulators. Review each simulators sim_open, sim_load, sim_create_inferior so that they more closely match required behavour.
* Add ABFD argument to sim_open call. Pass through to sim_config soAndrew Cagney1997-08-251-46/+60
| | | | | | | | | | that image properties such as endianness can be checked. More strongly document the expected behavour of each of the sim_* interfaces. Add default endian argument to simulator config macro SIM_AC_OPTION_ENDIAN. Use in sim_config.
* * sim-config.h (WITH_DEBUG): Provide default value of zero.David Edelsohn1997-04-171-1/+7
|
* Get the BIT/MASK/ROT/... macros to work with any 32/64/MSB0/MSBn target.Andrew Cagney1997-04-151-0/+197
|
* New file common/sim-config.c sets/checks simulator configuration options.Andrew Cagney1997-04-021-0/+339
Update common/aclocal.m4 to better work with sim-config.[hc].